24 lines
448 B
CMake
24 lines
448 B
CMake
|
|
set(src_files
|
|
src/main.cpp
|
|
src/api.hpp
|
|
src/api.cpp
|
|
src/worker.hpp
|
|
src/worker.cpp
|
|
src/tables.hpp)
|
|
|
|
|
|
add_executable(. ${src_files})
|
|
|
|
|
|
target_link_libraries(.
|
|
fmt::fmt
|
|
spdlog::spdlog
|
|
SOCI::soci_core
|
|
SOCI::soci_empty
|
|
SOCI::soci_sqlite3
|
|
nlohmann_json::nlohmann_json
|
|
Boost::boost
|
|
${Boost_FILESYSTEM_LIBRARY}
|
|
${Boost_SYSTEM_LIBRARY})
|