From f47fda7c8061303c0762c6b11b5f916993ead7ca Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Wed, 17 Jun 2026 10:09:34 +0200 Subject: lib: add basic tc attibute RAII type --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CMakeLists.txt') 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 + "$<$:-Wall>" + "$<$:-Wextra>" + "$<$:-Werror>" + "$<$:-pedantic-errors>" +) + ### Main Executable add_executable("ttwhy") -- cgit v1.2.3