X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8e80bb9cec2c90dd61f810fb1525932a434288eb..2196a3a0cdc5384c082febb7f4aa5994cc7d80db:/projects/stargazer/CMakeLists.txt?ds=inline diff --git a/projects/stargazer/CMakeLists.txt b/projects/stargazer/CMakeLists.txt index 073c7165..751bfc03 100644 --- a/projects/stargazer/CMakeLists.txt +++ b/projects/stargazer/CMakeLists.txt @@ -6,7 +6,7 @@ set ( CPP_FILES main.cpp services_impl.cpp user_impl.cpp tariff_impl.cpp - eventloop.cpp + async_pool.cpp pidfile.cpp plugin_runner.cpp plugin_mgr.cpp @@ -23,6 +23,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