diff options
| author | onelin <oscar@nelin.dk> | 2025-03-16 10:16:16 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-03-16 10:16:16 +0000 |
| commit | d254403ae15b572735ab7fa00780d689d028353f (patch) | |
| tree | ebb275f6afcb94e3564f4e92595f8c8483c187c2 /CMakeLists.txt | |
| parent | 0413f91b2185e273a3f05234e1789670424f5dc4 (diff) | |
Enable some compilation flags
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 92f16aa..0f4bd69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -64,14 +64,12 @@ endif() set(DEFAULT_ARGS -m64 # Target 64-bit architechture -Wall -Wextra # All the good default warnings - -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wwrite-strings - -Wswitch-default -Wconversion ) @@ -127,8 +125,8 @@ FetchContent_MakeAvailable(cglm stb) set(GLAD_HEADER ${CMAKE_BINARY_DIR}/include/glad/gl.h) ## Compilation information -add_compile_options(${RELEASE_OPTS} ${BUILD_OPTS}) -add_link_options(${RELEASE_OPTS} ${BUILD_OPTS}) +add_compile_options(${RELEASE_OPTS}) +add_link_options(${RELEASE_OPTS}) # The main engine compilation target is defined here add_subdirectory(src) |
