diff options
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 64904db..b33b88d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,13 @@ project(Horizon add_definitions(-DVERSTR="${PROJECT_VERSION}") +if(MSVC) + add_compile_options(/W4 /WX) +else() + add_compile_options(-Wall -Wextra -Werror) +endif() + + option(BUILD_TOOLS "Enable building of tools (Validator, Simulator, etc)" ON) |