mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-17 01:15:59 +01:00
cmake support for EncodingsCompiler
This commit is contained in:
21
Encodings/Compiler/CMakeLists.txt
Normal file
21
Encodings/Compiler/CMakeLists.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
set(POCO_EXENAME "EncodingsCompiler")
|
||||
|
||||
# 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 tec
|
||||
)
|
||||
|
||||
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
|
||||
)
|
||||
Reference in New Issue
Block a user