1 set ( CPP_FILES main.cpp listener.cpp pidfile.cpp )
3 set ( THREADS_PREFER_PTHREAD_FLAG ON )
4 find_package ( Threads REQUIRED )
6 add_executable ( rscriptd ${CPP_FILES} )
8 target_link_libraries ( rscriptd scriptexecuter conffiles logger crypto common Threads::Threads )
11 set_target_properties ( rscriptd PROPERTIES CXX_CLANG_TIDY "${DO_CLANG_TIDY}" )
13 if ( INCLUDE_WHAT_YOU_USE_EXE )
14 set_target_properties ( rscriptd PROPERTIES CXX_INCLUDE_WHAT_YOU_USE "${DO_INCLUDE_WHAT_YOU_USE}" )