rest of cmake scripts for samples + apache/apr detection

This commit is contained in:
Marian Krivos
2009-02-21 09:58:44 +00:00
parent 24e706aa2a
commit 60e1433f51
25 changed files with 251 additions and 4 deletions

View File

@@ -26,3 +26,5 @@ install(
TARGETS ${LIBNAME} ${LIBNAMED}
DESTINATION lib
)
add_subdirectory( samples )

View File

@@ -0,0 +1,2 @@
add_subdirectory( HTTPSTimeServer )
add_subdirectory( download )

View 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 )

View 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 )