Files
ThirdParty-6/ParaView-5.0.1/VTK/IO/MySQL/Testing/Cxx/CMakeLists.txt

22 lines
614 B
CMake

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()