mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-13 14:45:36 +02:00
rest of cmake scripts for samples + apache/apr detection
This commit is contained in:
5
XML/samples/CMakeLists.txt
Normal file
5
XML/samples/CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
add_subdirectory(DOMParser)
|
||||
add_subdirectory(DOMWriter)
|
||||
add_subdirectory(PrettyPrint)
|
||||
add_subdirectory(SAXParser)
|
||||
|
8
XML/samples/DOMParser/CMakeLists.txt
Normal file
8
XML/samples/DOMParser/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "DOMParser")
|
||||
|
||||
set(LOCAL_SRCS "")
|
||||
aux_source_directory(src LOCAL_SRCS)
|
||||
|
||||
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||
target_link_libraries( ${SAMPLE_NAME} PocoXML PocoFoundation )
|
8
XML/samples/DOMWriter/CMakeLists.txt
Normal file
8
XML/samples/DOMWriter/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "DOMWriter")
|
||||
|
||||
set(LOCAL_SRCS "")
|
||||
aux_source_directory(src LOCAL_SRCS)
|
||||
|
||||
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||
target_link_libraries( ${SAMPLE_NAME} PocoXML PocoFoundation )
|
8
XML/samples/PrettyPrint/CMakeLists.txt
Normal file
8
XML/samples/PrettyPrint/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "PrettyPrint")
|
||||
|
||||
set(LOCAL_SRCS "")
|
||||
aux_source_directory(src LOCAL_SRCS)
|
||||
|
||||
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||
target_link_libraries( ${SAMPLE_NAME} PocoXML PocoFoundation )
|
8
XML/samples/SAXParser/CMakeLists.txt
Normal file
8
XML/samples/SAXParser/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "SAXParser")
|
||||
|
||||
set(LOCAL_SRCS "")
|
||||
aux_source_directory(src LOCAL_SRCS)
|
||||
|
||||
add_executable( ${SAMPLE_NAME} ${LOCAL_SRCS} )
|
||||
set_target_properties( ${SAMPLE_NAME} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||
target_link_libraries( ${SAMPLE_NAME} PocoXML PocoFoundation )
|
Reference in New Issue
Block a user