summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMalkierian <malkierian@gmail.com>2024-10-28 17:30:11 -0700
committerGitHub <noreply@github.com>2024-10-28 17:30:11 -0700
commit108d5061d4f64de0a2988cf338b1c23596f609cd (patch)
treea8398c0f73cdc1bc4df5998505dec1aa8f292335 /docs
parentfd8e98ed1290cbfd6c850e89821b68dcf5a1fb49 (diff)
Small Warnings Refactor (#4477)
* Disable all warnings, even in release, on the `src` directory. Resolve math macro duplication warnings. * Suppress LUS warnings. * Modify it to utilize a variable that defaults on but can be specified in command line to disable it. Prevet total compile option overwrite for LUS. * Remove unnecessary unset and cache parameters. * Document warnings flag in BUILDING.md
Diffstat (limited to 'docs')
-rw-r--r--docs/BUILDING.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/BUILDING.md b/docs/BUILDING.md
index a95dbc31e..74ab53378 100644
--- a/docs/BUILDING.md
+++ b/docs/BUILDING.md
@@ -31,6 +31,7 @@ cd Shipwright
# Setup cmake project
# Add `-DCMAKE_BUILD_TYPE:STRING=Release` if you're packaging
+# Add `-DSUPPRESS_WARNINGS=0` to prevent suppression of warnings from LUS and decomp (src) files. set to 1 to re-enable suppression
& 'C:\Program Files\CMake\bin\cmake' -S . -B "build/x64" -G "Visual Studio 17 2022" -T v143 -A x64
# Generate soh.otr
@@ -133,6 +134,7 @@ git submodule update --init
# Generate Ninja project
# Add `-DCMAKE_BUILD_TYPE:STRING=Release` if you're packaging
+# Add `-DSUPPRESS_WARNINGS=0` to prevent suppression of warnings from LUS and decomp (src) files. set to 1 to re-enable suppression
# Add `-DPython3_EXECUTABLE=$(which python3)` if you are using non-standard Python installations such as PyEnv
cmake -H. -Bbuild-cmake -GNinja
@@ -187,6 +189,7 @@ git submodule update --init
# Generate Ninja project
# Add `-DCMAKE_BUILD_TYPE:STRING=Release` if you're packaging
+# Add `-DSUPPRESS_WARNINGS=0` to prevent suppression of warnings from LUS and decomp (src) files. set to 1 to re-enable suppression
cmake -H. -Bbuild-cmake -GNinja
# Generate soh.otr