mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
9 lines
231 B
CMake
9 lines
231 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 "Clang: Disabled exceptions")
|
|
endif()
|
|
|