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:
@@ -26,3 +26,5 @@ install(
|
||||
TARGETS ${LIBNAME} ${LIBNAMED}
|
||||
DESTINATION lib
|
||||
)
|
||||
|
||||
add_subdirectory( samples )
|
2
NetSSL_OpenSSL/samples/CMakeLists.txt
Normal file
2
NetSSL_OpenSSL/samples/CMakeLists.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
add_subdirectory( HTTPSTimeServer )
|
||||
add_subdirectory( download )
|
8
NetSSL_OpenSSL/samples/HTTPSTimeServer/CMakeLists.txt
Normal file
8
NetSSL_OpenSSL/samples/HTTPSTimeServer/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "HTTPSTimeServer")
|
||||
|
||||
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} PocoNetSSL PocoUtil PocoNet PocoXML PocoFoundation )
|
8
NetSSL_OpenSSL/samples/download/CMakeLists.txt
Normal file
8
NetSSL_OpenSSL/samples/download/CMakeLists.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "download-ssl")
|
||||
|
||||
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} PocoNetSSL PocoUtil PocoNet PocoXML PocoFoundation )
|
Reference in New Issue
Block a user