diff options
| author | Mikhail Romanko <me@blankhex.com> | 2025-09-06 16:16:57 +0300 |
|---|---|---|
| committer | Mikhail Romanko <me@blankhex.com> | 2025-09-06 16:16:57 +0300 |
| commit | 7cae7045044619f29b1926730c23319ad5d5af4a (patch) | |
| tree | c09b6f68a05df6e6299e5818d1fb6db0428b7c44 /test/CMakeLists.txt | |
| parent | 5dc36b222f498726481f3896ff82d38c7826b9ba (diff) | |
| download | bhlib-7cae7045044619f29b1926730c23319ad5d5af4a.tar.gz | |
Remove compiler warnings from the CMakeLists
The existing compiler warnings expected either clang/GCC or MSVC, thus
making CMakeLists less future proof.
Diffstat (limited to 'test/CMakeLists.txt')
| -rw-r--r-- | test/CMakeLists.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7e423b7..f44f902 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -16,13 +16,6 @@ foreach(TEST_FILENAME ${TEST_FILES}) target_link_libraries("${TEST_NAME}" BHLib BHUnit) add_test(NAME "${TEST_NAME}" COMMAND "${TEST_NAME}") - # Enable all compiler warnings - if(MSVC) - target_compile_options("${TEST_NAME}" PRIVATE /W4 /WX) - else() - target_compile_options("${TEST_NAME}" PRIVATE -Wall -Wextra -Wpedantic -Werror -fstrict-aliasing) - endif() - # Enable coverage if(ENABLE_COVERAGE) target_compile_options("${TEST_NAME}" PRIVATE -coverage) |
