message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there. You may need to remove CMakeCache.txt and CMakeFiles dir. ")
message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there. You may need to remove CMakeCache.txt and CMakeFiles dir. ")
endif()
set(CMAKE_CXX_STANDARD 11)
...
...
@@ -24,7 +24,7 @@ set(CMAKE_CXX_FLAGS_DEBUG
FORCE)
set(CMAKE_CXX_FLAGS_RELEASE
"-g -O3 -Wall -Wpedantic -Wextra"
"-g -O3 -Wall"
CACHE STRING
"Release build."
FORCE)
...
...
@@ -35,49 +35,82 @@ set(CMAKE_CXX_FLAGS_PROFILE
"Flags used by the C++ compiler during profile builds."