mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-16 18:56:52 +02:00
cmake scripts for all tests
This commit is contained in:
@@ -33,4 +33,4 @@ install(
|
||||
DESTINATION lib
|
||||
)
|
||||
|
||||
#add_subdirectory( testsuite )
|
||||
add_subdirectory( testsuite )
|
||||
|
19
Data/MySQL/testsuite/CMakeLists.txt
Normal file
19
Data/MySQL/testsuite/CMakeLists.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
set( TEST_SRCS
|
||||
src/Driver.cpp
|
||||
src/MySQLTest.cpp
|
||||
src/MySQLTestSuite.cpp
|
||||
src/SQLExecutor.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} PocoMySQL PocoData PocoFoundation CppUnit pthread)
|
||||
|
Reference in New Issue
Block a user