mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-14 19:13:49 +01:00
15 lines
353 B
CMake
15 lines
353 B
CMake
|
|
||
|
# Sources
|
||
|
file(GLOB SRCS_G "src/*.cpp")
|
||
|
POCO_SOURCES_AUTO(DBLOGGER_SRCS ${SRCS_G})
|
||
|
|
||
|
# Headers
|
||
|
file(GLOB_RECURSE HDRS_G "src/*.h")
|
||
|
POCO_HEADERS_AUTO(DBLOGGER_SRCS ${HDRS_G})
|
||
|
|
||
|
add_executable(DBLogger ${DBLOGGER_SRCS})
|
||
|
|
||
|
target_link_libraries(DBLogger PUBLIC Poco::Util Poco::DataSQLite)
|
||
|
|
||
|
add_custom_target(DBLogger-properties SOURCES DBLogger.properties)
|