mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 01:06:44 +08:00
8 lines
228 B
CMake
8 lines
228 B
CMake
# Enable full warnings
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra")
|
|
|
|
if (TESTS_NO_EXCEPTIONS)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
|
|
message(STATUS "GCC: Disabled exceptions")
|
|
endif()
|