1 set ( CPP_FILES main.cpp
19 set ( THREADS_PREFER_PTHREAD_FLAG ON )
20 find_package ( Threads REQUIRED )
22 add_executable ( stargazer ${CPP_FILES} )
24 target_link_libraries ( stargazer scriptexecuter dotconfpp logger common Threads::Threads ${CMAKE_DL_LIBS} )
27 set_target_properties ( stargazer PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
29 if ( INCLUDE_WHAT_YOU_USE_EXE )
30 set_target_properties ( stargazer PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )
33 add_subdirectory ( plugins )