mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-15 03:21:09 +01:00
f778e67430
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
22 lines
529 B
CMake
22 lines
529 B
CMake
set(POCO_EXENAME "File2Page")
|
|
|
|
# Sources
|
|
file(GLOB SRCS_G "src/*.cpp")
|
|
POCO_SOURCES_AUTO( SRCS ${SRCS_G})
|
|
|
|
add_executable( "${POCO_EXENAME}" ${SRCS} )
|
|
set_target_properties( "${POCO_EXENAME}"
|
|
PROPERTIES
|
|
OUTPUT_NAME f2cpsp
|
|
)
|
|
|
|
target_link_libraries( "${POCO_EXENAME}" Net Util XML JSON Foundation)
|
|
|
|
install(
|
|
TARGETS "${POCO_EXENAME}" EXPORT "${POCO_EXENAME}Targets"
|
|
LIBRARY DESTINATION lib${LIB_SUFFIX}
|
|
ARCHIVE DESTINATION lib${LIB_SUFFIX}
|
|
RUNTIME DESTINATION bin
|
|
INCLUDES DESTINATION include
|
|
)
|