]> git.stg.codes - stg.git/blobdiff - projects/stargazer/CMakeLists.txt
Add async pool (to replace EVENT_LOOP).
[stg.git] / projects / stargazer / CMakeLists.txt
index 073c71652f4cf4bc73e3159e1d3938a0eb75eb7f..6fbfbbc41e666bfebd120fa4d73b93495ec04967 100644 (file)
@@ -7,6 +7,7 @@ set ( CPP_FILES main.cpp
                 user_impl.cpp
                 tariff_impl.cpp
                 eventloop.cpp
+                async_pool.cpp
                 pidfile.cpp
                 plugin_runner.cpp
                 plugin_mgr.cpp
@@ -23,6 +24,13 @@ add_executable ( stargazer ${CPP_FILES} )
 
 target_link_libraries ( stargazer scriptexecuter dotconfpp logger common Threads::Threads ${CMAKE_DL_LIBS} )
 
+if ( CLANG_TIDY_EXE )
+    set_target_properties ( stargazer PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
+endif ()
+if ( INCLUDE_WHAT_YOU_USE_EXE )
+    set_target_properties ( stargazer PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
+endif ()
+
 add_subdirectory ( plugins )
 
 # TODO: install