Commit 424fdf5d authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel
Browse files

vtkIOSQL: update to the new module system

parent de371b96
set(Module_SRCS
vtkDatabaseToTableReader.cxx
vtkRowQuery.cxx
vtkRowQueryToTable.cxx
vtkSQLDatabase.cxx
# vtkSQLDatabaseGraphSource.cxx
vtkSQLDatabaseSchema.cxx
vtkSQLDatabaseTableSource.cxx
#vtkSQLGraphReader.cxx
vtkSQLQuery.cxx
vtkTableToDatabaseWriter.cxx
)
set(classes
vtkDatabaseToTableReader
vtkRowQuery
vtkRowQueryToTable
vtkSQLDatabase
#vtkSQLDatabaseGraphSource
vtkSQLDatabaseSchema
vtkSQLDatabaseTableSource
#vtkSQLGraphReader
vtkSQLiteDatabase
vtkSQLiteQuery
vtkSQLiteToTableReader
vtkSQLQuery
vtkTableToDatabaseWriter
vtkTableToSQLiteWriter)
set(SQLite_SRCS
vtkSQLiteDatabase.cxx
vtkSQLiteQuery.cxx
vtkSQLiteToTableReader.cxx
vtkTableToSQLiteWriter.cxx
)
set(private_headers
vtkSQLiteDatabaseInternals.h)
vtk_module_library(vtkIOSQL ${Module_SRCS} ${SQLite_SRCS})
vtk_module_add_module(VTK::IOSQL
CLASSES ${classes}
PRIVATE_HEADERS ${private_headers})
......@@ -10,7 +10,7 @@ vtk_test_cxx_executable(vtkIOSQLCxxTests tests)
# Run these serial to avoid intermittent test failures on machines
# that do parallel testing
foreach(test IN LISTS tests)
set_tests_properties(vtkIOSQLCxx-${test}
set_tests_properties(VTK::IOSQLCxx-${test}
PROPERTIES
RUN_SERIAL 1)
endforeach()
vtk_module(vtkIOSQL
GROUPS
StandAlone
TEST_DEPENDS
vtkIOLegacy
vtkTestingIOSQL
vtkTestingCore
KIT
vtkIO
DEPENDS
vtkCommonCore
vtkCommonExecutionModel
vtkIOCore
PRIVATE_DEPENDS
vtksqlite
vtksys
)
NAME
VTK::IOSQL
LIBRARY_NAME
vtkIOSQL
IMPLEMENTABLE
KIT
VTK::IO
GROUPS
StandAlone
DEPENDS
VTK::CommonCore
VTK::CommonExecutionModel
VTK::IOCore
PRIVATE_DEPENDS
VTK::sqlite
VTK::vtksys
TEST_DEPENDS
VTK::IOLegacy
VTK::TestingCore
VTK::TestingIOSQL
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