mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-11-02 03:27:56 +00:00
cmake scripts for all tests
This commit is contained in:
@@ -27,4 +27,5 @@ install(
|
||||
DESTINATION lib
|
||||
)
|
||||
|
||||
add_subdirectory( samples )
|
||||
add_subdirectory( samples )
|
||||
add_subdirectory( testsuite )
|
||||
|
||||
25
NetSSL_OpenSSL/testsuite/CMakeLists.txt
Normal file
25
NetSSL_OpenSSL/testsuite/CMakeLists.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
set( TEST_SRCS
|
||||
src/Driver.cpp
|
||||
src/HTTPSClientSessionTest.cpp
|
||||
src/HTTPSClientTestSuite.cpp
|
||||
src/HTTPSServerTest.cpp
|
||||
src/HTTPSServerTestSuite.cpp
|
||||
src/HTTPSStreamFactoryTest.cpp
|
||||
src/HTTPSTestServer.cpp
|
||||
src/NetSSLTestSuite.cpp
|
||||
src/TCPServerTest.cpp
|
||||
src/TCPServerTestSuite.cpp
|
||||
)
|
||||
|
||||
#include_directories()
|
||||
|
||||
set( WIN_TEST_SRCS
|
||||
src/WinDriver.cpp
|
||||
)
|
||||
|
||||
set(TESTUNIT "${LIBNAME}-testrunner")
|
||||
|
||||
add_executable( ${TESTUNIT} ${TEST_SRCS} )
|
||||
set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} )
|
||||
target_link_libraries( ${TESTUNIT} PocoNetSSL PocoNet PocoUtil PocoXML PocoFoundation CppUnit pthread)
|
||||
|
||||
Reference in New Issue
Block a user