summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2025-07-29 12:59:56 +0000
committerGitHub <noreply@github.com>2025-07-29 06:59:56 -0600
commit2cc051fbe1a1b97eeafa404fc9d9966e531b2295 (patch)
treec41b43257a362ddb1a03ff2c9bd1f028091747b3 /docs
parent4ecd8c8b75232eb8fa79a0eb3515ba54e4da250c (diff)
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>
Diffstat (limited to 'docs')
-rw-r--r--docs/BUILDING.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/BUILDING.md b/docs/BUILDING.md
index cbf501583..dfae6927d 100644
--- a/docs/BUILDING.md
+++ b/docs/BUILDING.md
@@ -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