1 set ( CPP_FILES main.cpp
20 set ( THREADS_PREFER_PTHREAD_FLAG ON )
21 find_package ( Threads REQUIRED )
23 add_executable ( stargazer ${CPP_FILES} )
25 target_link_libraries ( stargazer scriptexecuter dotconfpp logger common Threads::Threads ${CMAKE_DL_LIBS} )
28 set_target_properties ( stargazer PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
30 if ( INCLUDE_WHAT_YOU_USE_EXE )
31 set_target_properties ( stargazer PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
34 add_subdirectory ( plugins )