diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2026-06-17 10:09:34 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2026-06-17 10:09:34 +0200 |
| commit | f47fda7c8061303c0762c6b11b5f916993ead7ca (patch) | |
| tree | 405185c3c2d3706b7117061b5fa41af3ea2c0fca /CMakeLists.txt | |
| parent | 9c09097156dc70315364d27e61daef19b2844139 (diff) | |
| download | ttwhy-f47fda7c8061303c0762c6b11b5f916993ead7ca.tar.xz ttwhy-f47fda7c8061303c0762c6b11b5f916993ead7ca.zip | |
lib: add basic tc attibute RAII type
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") |
