more precision on building instruction and fix switch (#507)
* more precision on building instruction * Update main.yml --------- Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
parent
4ecd8c8b75
commit
2cc051fbe1
|
|
@ -33,8 +33,10 @@ cd spaghetti
|
||||||
# Add `-DCMAKE_BUILD_TYPE:STRING=Release` if you're packaging
|
# Add `-DCMAKE_BUILD_TYPE:STRING=Release` if you're packaging
|
||||||
& 'C:\Program Files\CMake\bin\cmake' -S . -B "build/x64" -G "Visual Studio 17 2022" -T v143 -A x64
|
& 'C:\Program Files\CMake\bin\cmake' -S . -B "build/x64" -G "Visual Studio 17 2022" -T v143 -A x64
|
||||||
|
|
||||||
# Generate mk64.o2r
|
# Generate mk64.o2r and spaghetti.o2r
|
||||||
& 'C:\Program Files\CMake\bin\cmake.exe' --build .\build\x64 --target ExtractAssets
|
& 'C:\Program Files\CMake\bin\cmake.exe' --build .\build\x64 --target ExtractAssets
|
||||||
|
# or if you want to generate the spaghetti.o2r file only
|
||||||
|
& 'C:\Program Files\CMake\bin\cmake.exe' --build .\build\x64 --target GenerateO2R
|
||||||
|
|
||||||
# Compile project
|
# Compile project
|
||||||
# Add `--config Release` if you're packaging
|
# Add `--config Release` if you're packaging
|
||||||
|
|
@ -133,8 +135,10 @@ git submodule update --init
|
||||||
# Add `-DPython3_EXECUTABLE=$(which python3)` if you are using non-standard Python installations such as PyEnv
|
# Add `-DPython3_EXECUTABLE=$(which python3)` if you are using non-standard Python installations such as PyEnv
|
||||||
cmake -H. -Bbuild-cmake -GNinja
|
cmake -H. -Bbuild-cmake -GNinja
|
||||||
|
|
||||||
# Generate mk64.o2r
|
# Generate mk64.o2r and spaghetti.o2r
|
||||||
cmake --build build-cmake --target ExtractAssets
|
cmake --build build-cmake --target ExtractAssets
|
||||||
|
# or if you want to generate the spaghetti.o2r file only
|
||||||
|
cmake --build build-cmake --target GenerateO2R
|
||||||
|
|
||||||
# Compile the project
|
# Compile the project
|
||||||
# Add `--config Release` if you're packaging
|
# Add `--config Release` if you're packaging
|
||||||
|
|
@ -198,8 +202,10 @@ git submodule update --init
|
||||||
# Add `-DCMAKE_BUILD_TYPE:STRING=Release` if you're packaging
|
# Add `-DCMAKE_BUILD_TYPE:STRING=Release` if you're packaging
|
||||||
cmake -H. -Bbuild-cmake -GNinja
|
cmake -H. -Bbuild-cmake -GNinja
|
||||||
|
|
||||||
# Generate mk64.o2r
|
# Generate mk64.o2r and spaghetti.o2r
|
||||||
cmake --build build-cmake --target ExtractAssets
|
cmake --build build-cmake --target ExtractAssets
|
||||||
|
# or if you want to generate the spaghetti.o2r file only
|
||||||
|
cmake --build build-cmake --target GenerateO2R
|
||||||
|
|
||||||
# Compile the project
|
# Compile the project
|
||||||
# Add `--config Release` if you're packaging
|
# Add `--config Release` if you're packaging
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue