File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -3,13 +3,15 @@ project(nautilus_lib)
3
3
4
4
set (CMAKE_CXX_STANDARD 20 )
5
5
set (CMAKE_CXX_STANDARD_REQUIRED True )
6
+ set (CATCH_ENABLE_REPRODUCIBLE_BUILD OFF CACHE INTERNAL "Turn off tests" )
6
7
set (NES_WARNINGS "-Wall -Wbitwise-instead-of-logical -Wextra -pedantic -Wno-null-character -Wno-dollar-in-identifier-extension -Werror=extra -Werror=exceptions -Werror=all -Werror=integer-overflow -Werror=return-type -Werror=return-stack-address -Werror=delete-non-virtual-dtor -Werror=deprecated -Werror=writable-strings -Werror=array-bounds -Werror=ignored-qualifiers -Werror=sign-compare -Wno-deprecated-copy-with-dtor -Wno-unused-variable -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-invalid-offsetof " )
7
8
8
9
set (CMAKE_CXX_FLAGS "${NES_WARNINGS} -Wno-unused-parameter -fPIC -Wno-return-type -fno-omit-frame-pointer -fstandalone-debug -fdebug-default-version=4" )
9
10
10
11
11
12
include (cmake/macros.cmake )
12
13
14
+
13
15
Include (FetchContent )
14
16
FetchContent_Declare (
15
17
Catch2
You can’t perform that action at this time.
0 commit comments