1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
if(VTK_MYSQL_TEST_URL)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/vtkIOMySQLTestingCxxConfigure.h.in
${CMAKE_CURRENT_BINARY_DIR}/vtkIOMySQLTestingCxxConfigure.h)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
if(WIN32)
set(TestMySQLTableReadWrite_ARGS
DATA{../Data/Input/simple_table_win.vtk})
else()
set(TestMySQLTableReadWrite_ARGS
DATA{../Data/Input/simple_table.vtk})
endif()
vtk_add_test_cxx(${vtk-module}CxxTests tests
NO_DATA NO_VALID
TestMySQLDatabase.cxx
TestMySQLTableReadWrite.cxx
)
vtk_test_cxx_executable(${vtk-module}CxxTests tests)
endif()
|