2014-12-11 10:31:13 +01:00
|
|
|
# Sources
|
|
|
|
file(GLOB SRCS_G "src/*.cpp")
|
2020-02-14 11:07:32 +01:00
|
|
|
POCO_SOURCES_AUTO(SRCS ${SRCS_G})
|
2014-12-11 10:31:13 +01:00
|
|
|
|
2020-02-14 11:07:32 +01:00
|
|
|
add_executable(PocoDoc ${SRCS})
|
2014-12-11 10:31:13 +01:00
|
|
|
|
2018-06-03 18:17:50 +02:00
|
|
|
target_link_libraries(PocoDoc PUBLIC Poco::Util Poco::XML Poco::CppParser)
|
2014-12-11 10:31:13 +01:00
|
|
|
|
|
|
|
install(
|
2018-06-03 18:17:50 +02:00
|
|
|
TARGETS PocoDoc EXPORT PocoDocTargets
|
2023-10-20 17:21:13 +02:00
|
|
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
|
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
|
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
|
|
BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
|
|
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
2020-02-14 11:07:32 +01:00
|
|
|
)
|