Note that users can pass their own compiler flags

This commit is contained in:
Clownacy 2020-03-14 19:59:56 +00:00
parent 2c831a62ad
commit bbf65f64f5

View file

@ -67,7 +67,9 @@ Name | Function
`-DWARNINGS_ALL=ON` | Enable ALL compiler warnings (for Clang and MSVC only)
`-DWARNINGS_FATAL=ON` | Stop compilation on any compiler warning (for GCC-compatible compilers and MSVC only)
Then compile CSE2 with this command:
You can pass your own compiler flags with `-DCMAKE_C_FLAGS` and `-DCMAKE_CXX_FLAGS`.
You can then compile CSE2 with this command:
```
cmake --build . --config Release
@ -94,6 +96,8 @@ Name | Function
`WARNINGS_ALL=1` | Enable ALL compiler warnings (Clang only)
`WARNINGS_FATAL=1` | Make all compiler warnings errors
You can pass your own compiler flags by defining `CXXFLAGS`.
Once built, the executable can be found in the `game_english`/`game_japanese` folder, depending on the selected language.
## Licensing