X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/8c6fa3fbaccc22127280bf77a48fab5a3ee0716e..46b0747592074017ff0ea4b33d4a7194235886e5:/stargazer/CMakeLists.txt diff --git a/stargazer/CMakeLists.txt b/stargazer/CMakeLists.txt new file mode 100644 index 00000000..43c8e91a --- /dev/null +++ b/stargazer/CMakeLists.txt @@ -0,0 +1,29 @@ +set ( CPP_FILES main.cpp + admins_impl.cpp + users_impl.cpp + tariffs_impl.cpp + corps_impl.cpp + services_impl.cpp + admin_impl.cpp + user_impl.cpp + tariff_impl.cpp + eventloop.cpp + pidfile.cpp + plugin_runner.cpp + plugin_mgr.cpp + settings_impl.cpp + stg_timer.cpp + store_loader.cpp + traffcounter_impl.cpp + user_property.cpp ) + +set ( THREADS_PREFER_PTHREAD_FLAG ON ) +find_package ( Threads REQUIRED ) + +add_executable ( stargazer ${CPP_FILES} ) + +target_link_libraries ( stargazer scriptexecuter dotconfpp logger common Threads::Threads dl ) + +add_subdirectory ( plugins ) + +# TODO: install