mirror of
https://github.com/Naios/continuable.git
synced 2025-12-07 01:06:44 +08:00
15 lines
314 B
CMake
15 lines
314 B
CMake
# Enable full warnings
|
|
target_compile_options(continuable-features-warnings
|
|
INTERFACE
|
|
-Wall
|
|
-pedantic
|
|
-Wextra)
|
|
|
|
if (CTI_CONTINUABLE_WITH_NO_EXCEPTIONS)
|
|
target_compile_options(continuable-features-noexcept
|
|
INTERFACE
|
|
-fno-exceptions)
|
|
|
|
message(STATUS "Clang: Disabled exceptions")
|
|
endif()
|