]> git.stg.codes - stg.git/blob - projects/stargazer/CMakeLists.txt
073c71652f4cf4bc73e3159e1d3938a0eb75eb7f
[stg.git] / projects / stargazer / CMakeLists.txt
1 set ( CPP_FILES main.cpp
2                 admins_impl.cpp
3                 users_impl.cpp
4                 tariffs_impl.cpp
5                 corps_impl.cpp
6                 services_impl.cpp
7                 user_impl.cpp
8                 tariff_impl.cpp
9                 eventloop.cpp
10                 pidfile.cpp
11                 plugin_runner.cpp
12                 plugin_mgr.cpp
13                 settings_impl.cpp
14                 stg_timer.cpp
15                 store_loader.cpp
16                 traffcounter_impl.cpp
17                 user_property.cpp )
18
19 set ( THREADS_PREFER_PTHREAD_FLAG ON )
20 find_package ( Threads REQUIRED )
21
22 add_executable ( stargazer ${CPP_FILES} )
23
24 target_link_libraries ( stargazer scriptexecuter dotconfpp logger common Threads::Threads ${CMAKE_DL_LIBS} )
25
26 add_subdirectory ( plugins )
27
28 # TODO: install