]> git.stg.codes - stg.git/blob - stargazer/CMakeLists.txt
d64efc6cebad9be5a51bd003269cd0ed4e08ebe8
[stg.git] / 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                 admin_impl.cpp
8                 user_impl.cpp
9                 tariff_impl.cpp
10                 eventloop.cpp
11                 pidfile.cpp
12                 plugin_runner.cpp
13                 plugin_mgr.cpp
14                 settings_impl.cpp
15                 stg_timer.cpp
16                 store_loader.cpp
17                 traffcounter_impl.cpp
18                 user_property.cpp )
19
20 set ( THREADS_PREFER_PTHREAD_FLAG ON )
21 find_package ( Threads REQUIRED )
22
23 add_executable ( stargazer ${CPP_FILES} )
24
25 target_link_libraries ( stargazer scriptexecuter dotconfpp logger common Threads::Threads ${CMAKE_DL_LIBS} )
26
27 add_subdirectory ( plugins )
28
29 # TODO: install