Commit 52384f27 authored by Ben Boeckel's avatar Ben Boeckel

vtkCommonDataModel: update to the new module system

parent a9e5a7fc
This diff is collapsed.
vtk_module_test_data(
Data/Disc_BiQuadraticQuads_0_0.vtu
Data/Disc_QuadraticQuads_0_0.vtu
Data/blowGeom.vtk
Data/headsq/,REGEX:.*
Data/nonWatertightPolyhedron.vtu
Data/quadraticTetra01.vtu)
add_subdirectory(Cxx)
if (VTK_WRAP_PYTHON)
......
......@@ -92,19 +92,19 @@ list(APPEND data_tests TestPolyhedron2.cxx TestPolyhedronContouring.cxx TestPoly
vtk_add_test_cxx(vtkCommonDataModelCxxTests output_tests
TestKdTreeRepresentation.cxx,NO_DATA
)
ExternalData_add_test(VTKData
NAME TestPolyhedron2
ExternalData_add_test(${_vtk_build_TEST_DATA_TARGET}
NAME VTK::CommonDataModelCxxTests-TestPolyhedron2
COMMAND vtkCommonDataModelCxxTests TestPolyhedron2
-D DATA{../Data/polyhedron_mesh.vtu}
)
ExternalData_add_test(VTKData
NAME TestPolyhedronContouring
COMMAND ${vtk-module}CxxTests TestPolyhedronContouring
ExternalData_add_test(${_vtk_build_TEST_DATA_TARGET}
NAME VTK::CommonDataModelCxxTests-TestPolyhedronContouring
COMMAND vtkCommonDataModelCxxTests TestPolyhedronContouring
DATA{../Data/cell_850113.vtu} DATA{../Data/cell_12851_26.vtu}
)
ExternalData_add_test(VTKData
NAME TestPolyhedronCutter
COMMAND ${vtk-module}CxxTests TestPolyhedronCutter
ExternalData_add_test(${_vtk_build_TEST_DATA_TARGET}
NAME VTK::CommonDataModelCxxTests-TestPolyhedronCutter
COMMAND vtkCommonDataModelCxxTests TestPolyhedronCutter
DATA{../Data/onePolyhedron.vtu} DATA{../Data/sliceOfPolyhedron.vtu}
)
......
......@@ -75,10 +75,6 @@ int TestSmoothErrorMetric(int argc, char* argv[])
vtkSmartPointer<vtkXMLUnstructuredGridReader> reader =
vtkSmartPointer< vtkXMLUnstructuredGridReader>::New();
char *cfname = vtkTestUtilities::ExpandDataFileName(argc, argv, "Data/quadraticTetra01.vtu");
// char *cfname = vtkTestUtilities::ExpandDataFileName(argc, argv, "Data/quadTet2.vtu");
// char *cfname = vtkTestUtilities::ExpandDataFileName(argc, argv, "Data/Test2_Volume.vtu");
// char *cfname = vtkTestUtilities::ExpandDataFileName(argc, argv, "Data/quadHexa01.vtu");
// char *cfname = vtkTestUtilities::ExpandDataFileName(argc, argv, "Data/quadQuad01.vtu");
reader->SetFileName( cfname );
delete[] cfname;
......
set(TEST_DEPENDS_MODULES
vtkTestingCore
vtkTestingRendering
vtkInteractionStyle
vtkCommonExecutionModel
vtkCommonColor
vtkFiltersGeneric
vtkFiltersModeling
vtkIOGeometry
vtkIOLegacy
vtkIOXML
vtkTestingGenericBridge
vtkChartsCore
vtkViewsContext2D
vtkRenderingCore
vtkRenderingContextOpenGL2
vtkRenderingOpenGL2
)
if(VTK_WRAP_PYTHON)
list(APPEND TEST_DEPENDS_MODULES vtkFiltersPython)
endif()
vtk_module(vtkCommonDataModel
GROUPS
StandAlone
TEST_DEPENDS
${TEST_DEPENDS_MODULES}
KIT
vtkCommon
DEPENDS
vtkCommonCore
vtkCommonMath
vtkCommonTransforms
PRIVATE_DEPENDS
vtkCommonMisc
vtkCommonSystem
vtksys
)
NAME
VTK::CommonDataModel
LIBRARY_NAME
vtkCommonDataModel
DESCRIPTION
Core data types
KIT
VTK::Common
GROUPS
StandAlone
DEPENDS
VTK::CommonCore
VTK::CommonMath
VTK::CommonTransforms
PRIVATE_DEPENDS
VTK::CommonMisc
VTK::CommonSystem
VTK::vtksys
TEST_DEPENDS
VTK::ChartsCore
VTK::CommonColor
VTK::CommonExecutionModel
VTK::CommonSystem
VTK::FiltersExtraction
VTK::FiltersGeneric
VTK::FiltersGeometry
VTK::FiltersModeling
VTK::IOGeometry
VTK::IOLegacy
VTK::IOXML
VTK::InteractionStyle
VTK::RenderingContextOpenGL2
VTK::RenderingCore
VTK::RenderingOpenGL2
VTK::TestingCore
VTK::TestingGenericBridge
VTK::TestingRendering
VTK::ViewsContext2D
TEST_OPTIONAL_DEPENDS
VTK::FiltersPython
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment