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:
coco875 2025-07-29 12:59:56 +00:00 committed by GitHub
parent 4ecd8c8b75
commit 2cc051fbe1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 3 deletions

View File

@ -33,8 +33,10 @@ cd spaghetti
# 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
# Generate mk64.o2r
# Generate mk64.o2r and spaghetti.o2r
& '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
# 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
cmake -H. -Bbuild-cmake -GNinja
# Generate mk64.o2r
# Generate mk64.o2r and spaghetti.o2r
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
# 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
cmake -H. -Bbuild-cmake -GNinja
# Generate mk64.o2r
# Generate mk64.o2r and spaghetti.o2r
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
# Add `--config Release` if you're packaging