diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4eb75c1..3091b9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,6 +41,7 @@ target_sources("ttwhy-core" PUBLIC FILES "ttwhy/lib.cppm" + "ttwhy/scoped_attributes.cppm" ) target_include_directories("ttwhy-core" PUBLIC @@ -55,6 +56,13 @@ target_link_libraries("ttwhy-core" PUBLIC "ext::asio" ) +target_compile_options("ttwhy-core" PUBLIC + "$<$<CXX_COMPILER_ID:Clang,GNU>:-Wall>" + "$<$<CXX_COMPILER_ID:Clang,GNU>:-Wextra>" + "$<$<CXX_COMPILER_ID:Clang,GNU>:-Werror>" + "$<$<CXX_COMPILER_ID:Clang,GNU>:-pedantic-errors>" +) + ### Main Executable add_executable("ttwhy") |
