From bbf65f64f58339730e49d81afd391a02428f5f4d Mon Sep 17 00:00:00 2001 From: Clownacy Date: Sat, 14 Mar 2020 19:59:56 +0000 Subject: [PATCH] Note that users can pass their own compiler flags --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f7328d36..588a9242 100644 --- a/README.md +++ b/README.md @@ -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