mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
added Data, Foundation, Net and Util samples + some global cmake fixes - second portion
This commit is contained in:
parent
129f21cc79
commit
24e706aa2a
1
Crypto/samples/CMakeLists.txt
Normal file
1
Crypto/samples/CMakeLists.txt
Normal file
@ -0,0 +1 @@
|
||||
add_subdirectory( genrsakey )
|
8
Crypto/samples/genrsakey/CMakeLists.txt
Normal file
8
Crypto/samples/genrsakey/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "genrsakey")
|
||||
|
||||
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} PocoCrypto PocoUtil PocoXML PocoFoundation )
|
8
Data/samples/Binding/CMakeLists.txt
Normal file
8
Data/samples/Binding/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "Binding")
|
||||
|
||||
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} PocoSQLite PocoData PocoFoundation )
|
5
Data/samples/CMakeLists.txt
Normal file
5
Data/samples/CMakeLists.txt
Normal file
@ -0,0 +1,5 @@
|
||||
add_subdirectory( Binding )
|
||||
add_subdirectory( RecordSet )
|
||||
add_subdirectory( RowFormatter )
|
||||
add_subdirectory( Tuple )
|
||||
add_subdirectory( TypeHandler )
|
8
Data/samples/RecordSet/CMakeLists.txt
Normal file
8
Data/samples/RecordSet/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "RecordSet")
|
||||
|
||||
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} PocoSQLite PocoData PocoFoundation )
|
8
Data/samples/RowFormatter/CMakeLists.txt
Normal file
8
Data/samples/RowFormatter/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "RowFormatter")
|
||||
|
||||
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} PocoSQLite PocoData PocoFoundation )
|
8
Data/samples/Tuple/CMakeLists.txt
Normal file
8
Data/samples/Tuple/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "Tuple")
|
||||
|
||||
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} PocoSQLite PocoData PocoFoundation )
|
8
Data/samples/TypeHandler/CMakeLists.txt
Normal file
8
Data/samples/TypeHandler/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "TypeHandler")
|
||||
|
||||
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} PocoSQLite PocoData PocoFoundation )
|
8
Foundation/samples/ActiveMethod/CMakeLists.txt
Normal file
8
Foundation/samples/ActiveMethod/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "ActiveMethod")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/Activity/CMakeLists.txt
Normal file
8
Foundation/samples/Activity/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "Activity")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/BinaryReaderWriter/CMakeLists.txt
Normal file
8
Foundation/samples/BinaryReaderWriter/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "BinaryReaderWriter")
|
||||
|
||||
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} PocoFoundation )
|
20
Foundation/samples/CMakeLists.txt
Normal file
20
Foundation/samples/CMakeLists.txt
Normal file
@ -0,0 +1,20 @@
|
||||
add_subdirectory(ActiveMethod)
|
||||
add_subdirectory(Activity)
|
||||
add_subdirectory(BinaryReaderWriter)
|
||||
add_subdirectory(DateTime)
|
||||
add_subdirectory(LogRotation)
|
||||
add_subdirectory(Logger)
|
||||
add_subdirectory(NotificationQueue)
|
||||
add_subdirectory(StringTokenizer)
|
||||
add_subdirectory(Timer)
|
||||
add_subdirectory(URI)
|
||||
add_subdirectory(base64decode)
|
||||
add_subdirectory(base64encode)
|
||||
add_subdirectory(deflate)
|
||||
add_subdirectory(dir)
|
||||
add_subdirectory(grep)
|
||||
add_subdirectory(hmacmd5)
|
||||
add_subdirectory(inflate)
|
||||
add_subdirectory(md5)
|
||||
add_subdirectory(uuidgen
|
||||
)
|
8
Foundation/samples/DateTime/CMakeLists.txt
Normal file
8
Foundation/samples/DateTime/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "DateTime")
|
||||
|
||||
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} PocoFoundation)
|
8
Foundation/samples/LogRotation/CMakeLists.txt
Normal file
8
Foundation/samples/LogRotation/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "LogRotation")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/Logger/CMakeLists.txt
Normal file
8
Foundation/samples/Logger/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "Logger")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/NotificationQueue/CMakeLists.txt
Normal file
8
Foundation/samples/NotificationQueue/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "NotificationQueue")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/StringTokenizer/CMakeLists.txt
Normal file
8
Foundation/samples/StringTokenizer/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "String>Tokenizer")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/Timer/CMakeLists.txt
Normal file
8
Foundation/samples/Timer/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "Timer")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/URI/CMakeLists.txt
Normal file
8
Foundation/samples/URI/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "URI")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/base64decode/CMakeLists.txt
Normal file
8
Foundation/samples/base64decode/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "base64decode")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/base64encode/CMakeLists.txt
Normal file
8
Foundation/samples/base64encode/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "base64encode")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/deflate/CMakeLists.txt
Normal file
8
Foundation/samples/deflate/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "deflate")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/dir/CMakeLists.txt
Normal file
8
Foundation/samples/dir/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "dir")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/grep/CMakeLists.txt
Normal file
8
Foundation/samples/grep/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "grep")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/hmacmd5/CMakeLists.txt
Normal file
8
Foundation/samples/hmacmd5/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "hmacmd5")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/inflate/CMakeLists.txt
Normal file
8
Foundation/samples/inflate/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "inflate")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/md5/CMakeLists.txt
Normal file
8
Foundation/samples/md5/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "md5")
|
||||
|
||||
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} PocoFoundation )
|
8
Foundation/samples/uuidgen/CMakeLists.txt
Normal file
8
Foundation/samples/uuidgen/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "uuidgen")
|
||||
|
||||
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} PocoFoundation )
|
12
Net/samples/CMakeLists.txt
Normal file
12
Net/samples/CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
||||
add_subdirectory(EchoServer)
|
||||
add_subdirectory(HTTPFormServer)
|
||||
add_subdirectory(HTTPLoadTest)
|
||||
add_subdirectory(HTTPTimeServer)
|
||||
add_subdirectory(Mail)
|
||||
add_subdirectory(Ping)
|
||||
add_subdirectory(SMTPLogger)
|
||||
add_subdirectory(TimeServer)
|
||||
add_subdirectory(dict)
|
||||
add_subdirectory(download)
|
||||
add_subdirectory(httpget)
|
||||
|
8
Net/samples/EchoServer/CMakeLists.txt
Normal file
8
Net/samples/EchoServer/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "EchoServer")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
8
Net/samples/HTTPFormServer/CMakeLists.txt
Normal file
8
Net/samples/HTTPFormServer/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "HTTPFormServer")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
8
Net/samples/HTTPLoadTest/CMakeLists.txt
Normal file
8
Net/samples/HTTPLoadTest/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "HTTPLoadTest")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
8
Net/samples/HTTPTimeServer/CMakeLists.txt
Normal file
8
Net/samples/HTTPTimeServer/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "HTTPTimeServer")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
8
Net/samples/Mail/CMakeLists.txt
Normal file
8
Net/samples/Mail/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "Mail")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
8
Net/samples/Ping/CMakeLists.txt
Normal file
8
Net/samples/Ping/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "Ping")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
8
Net/samples/SMTPLogger/CMakeLists.txt
Normal file
8
Net/samples/SMTPLogger/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "SMTPLogger")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
8
Net/samples/TimeServer/CMakeLists.txt
Normal file
8
Net/samples/TimeServer/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "TimeServer")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
8
Net/samples/dict/CMakeLists.txt
Normal file
8
Net/samples/dict/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "dict")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
8
Net/samples/download/CMakeLists.txt
Normal file
8
Net/samples/download/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "download")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
8
Net/samples/httpget/CMakeLists.txt
Normal file
8
Net/samples/httpget/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "httpget")
|
||||
|
||||
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} PocoNet PocoUtil PocoXML PocoFoundation )
|
3
Util/samples/CMakeLists.txt
Normal file
3
Util/samples/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
||||
add_subdirectory( SampleApp )
|
||||
add_subdirectory( SampleServer )
|
||||
add_subdirectory( Units )
|
8
Util/samples/SampleApp/CMakeLists.txt
Normal file
8
Util/samples/SampleApp/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "SampleApp")
|
||||
|
||||
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} PocoUtil PocoXML PocoFoundation )
|
8
Util/samples/SampleServer/CMakeLists.txt
Normal file
8
Util/samples/SampleServer/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "SampleServer")
|
||||
|
||||
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} PocoUtil PocoXML PocoFoundation )
|
8
Util/samples/Units/CMakeLists.txt
Normal file
8
Util/samples/Units/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
set(SAMPLE_NAME "Units")
|
||||
|
||||
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} PocoUtil PocoXML PocoFoundation )
|
Loading…
Reference in New Issue
Block a user