mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 19:25:53 +02:00
cmake scripts for all tests
This commit is contained in:
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