Skip to content

Commit

Permalink
Turned on the compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Jun 25, 2024
1 parent 893293b commit ba7ee93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ macro(create_test name)
scran_test_utils
)

target_compile_options(${name} PRIVATE -Wall -Werror -Wpedantic -Wextra)

if(DO_CODE_COVERAGE)
target_compile_options(${name} PRIVATE -O0 -g --coverage)
target_link_options(${name} PRIVATE --coverage)
Expand Down

0 comments on commit ba7ee93

Please sign in to comment.