mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 21:33:55 +00:00
Do not declare headers for virtual classes that are removed
This commit is contained in:
parent
cb3bb43ff9
commit
8eed21d085
@ -124,8 +124,19 @@ function(do_verify root_dir prefix)
|
|||||||
cont/PointLocator.h
|
cont/PointLocator.h
|
||||||
cont/StorageVirtual.h
|
cont/StorageVirtual.h
|
||||||
cont/StorageVirtual.hxx
|
cont/StorageVirtual.hxx
|
||||||
|
cont/VirtualObjectHandle.h
|
||||||
|
cont/cuda/internal/VirtualObjectTransferCuda.h
|
||||||
|
cont/internal/TransferInfo.h
|
||||||
|
cont/internal/VirtualObjectTransfer.h
|
||||||
|
cont/internal/VirtualObjectTransferInstantiate.h
|
||||||
|
cont/internal/VirtualObjectTransferShareWithControl.h
|
||||||
|
cont/kokkos/internal/VirtualObjectTransferKokkos.h
|
||||||
|
cont/openmp/internal/VirtualObjectTransferOpenMP.h
|
||||||
|
cont/serial/internal/VirtualObjectTransferSerial.h
|
||||||
|
cont/tbb/internal/VirtualObjectTransferTBB.h
|
||||||
exec/CellLocator.h
|
exec/CellLocator.h
|
||||||
exec/PointLocator.h
|
exec/PointLocator.h
|
||||||
|
internal/ArrayPortalVirtual.h
|
||||||
)
|
)
|
||||||
|
|
||||||
#by default every header in a testing directory doesn't need to be installed
|
#by default every header in a testing directory doesn't need to be installed
|
||||||
|
@ -121,7 +121,6 @@ set(headers
|
|||||||
UncertainArrayHandle.h
|
UncertainArrayHandle.h
|
||||||
UnknownArrayHandle.h
|
UnknownArrayHandle.h
|
||||||
VariantArrayHandle.h
|
VariantArrayHandle.h
|
||||||
VirtualObjectHandle.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
set(template_sources
|
set(template_sources
|
||||||
@ -194,6 +193,7 @@ if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
|
|||||||
CellLocator.h
|
CellLocator.h
|
||||||
PointLocator.h
|
PointLocator.h
|
||||||
StorageVirtual.h
|
StorageVirtual.h
|
||||||
|
VirtualObjectHandle.h
|
||||||
)
|
)
|
||||||
|
|
||||||
set(template_sources ${template_sources}
|
set(template_sources ${template_sources}
|
||||||
|
@ -18,9 +18,14 @@ set(headers
|
|||||||
MakeThrustIterator.h
|
MakeThrustIterator.h
|
||||||
ScopedCudaStackSize.h
|
ScopedCudaStackSize.h
|
||||||
ThrustExceptionHandler.h
|
ThrustExceptionHandler.h
|
||||||
VirtualObjectTransferCuda.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
|
||||||
|
set(headers ${headers}
|
||||||
|
VirtualObjectTransferCuda.h
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
vtkm_declare_headers(${headers})
|
vtkm_declare_headers(${headers})
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,13 +33,18 @@ set(headers
|
|||||||
ReverseConnectivityBuilder.h
|
ReverseConnectivityBuilder.h
|
||||||
StorageDeprecated.h
|
StorageDeprecated.h
|
||||||
StorageError.h
|
StorageError.h
|
||||||
TransferInfo.h
|
|
||||||
Variant.h
|
Variant.h
|
||||||
VirtualObjectTransfer.h
|
|
||||||
VirtualObjectTransferInstantiate.h
|
|
||||||
VirtualObjectTransferShareWithControl.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
|
||||||
|
set(headers ${headers}
|
||||||
|
TransferInfo.h
|
||||||
|
VirtualObjectTransfer.h
|
||||||
|
VirtualObjectTransferInstantiate.h
|
||||||
|
VirtualObjectTransferShareWithControl.h
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
vtkm_declare_headers(${headers})
|
vtkm_declare_headers(${headers})
|
||||||
|
|
||||||
# These source files are actually compiled in the parent directory.
|
# These source files are actually compiled in the parent directory.
|
||||||
|
@ -16,7 +16,13 @@ set(headers
|
|||||||
Initialize.h
|
Initialize.h
|
||||||
KokkosAlloc.h
|
KokkosAlloc.h
|
||||||
KokkosTypes.h
|
KokkosTypes.h
|
||||||
VirtualObjectTransferKokkos.h)
|
)
|
||||||
|
|
||||||
|
if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
|
||||||
|
set(headers ${headers}
|
||||||
|
VirtualObjectTransferKokkos.h
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
vtkm_declare_headers(${headers})
|
vtkm_declare_headers(${headers})
|
||||||
|
|
||||||
|
@ -18,9 +18,14 @@ set(headers
|
|||||||
ParallelRadixSortOpenMP.h
|
ParallelRadixSortOpenMP.h
|
||||||
ParallelScanOpenMP.h
|
ParallelScanOpenMP.h
|
||||||
ParallelSortOpenMP.h
|
ParallelSortOpenMP.h
|
||||||
VirtualObjectTransferOpenMP.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
|
||||||
|
set(headers ${headers}
|
||||||
|
VirtualObjectTransferOpenMP.h
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
vtkm_declare_headers(${headers})
|
vtkm_declare_headers(${headers})
|
||||||
|
|
||||||
#These sources need to always be built
|
#These sources need to always be built
|
||||||
|
@ -13,8 +13,14 @@ set(headers
|
|||||||
DeviceAdapterMemoryManagerSerial.h
|
DeviceAdapterMemoryManagerSerial.h
|
||||||
DeviceAdapterRuntimeDetectorSerial.h
|
DeviceAdapterRuntimeDetectorSerial.h
|
||||||
DeviceAdapterTagSerial.h
|
DeviceAdapterTagSerial.h
|
||||||
VirtualObjectTransferSerial.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
|
||||||
|
set(headers ${headers}
|
||||||
|
VirtualObjectTransferSerial.h
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
vtkm_declare_headers(${headers})
|
vtkm_declare_headers(${headers})
|
||||||
|
|
||||||
target_sources(vtkm_cont PRIVATE
|
target_sources(vtkm_cont PRIVATE
|
||||||
|
@ -15,9 +15,14 @@ set(headers
|
|||||||
DeviceAdapterTagTBB.h
|
DeviceAdapterTagTBB.h
|
||||||
FunctorsTBB.h
|
FunctorsTBB.h
|
||||||
ParallelSortTBB.h
|
ParallelSortTBB.h
|
||||||
VirtualObjectTransferTBB.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
|
||||||
|
set(headers ${headers}
|
||||||
|
VirtualObjectTransferTBB.h
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
vtkm_declare_headers(${headers}
|
vtkm_declare_headers(${headers}
|
||||||
ParallelSortTBB.hxx
|
ParallelSortTBB.hxx
|
||||||
parallel_sort.h
|
parallel_sort.h
|
||||||
|
@ -31,7 +31,6 @@ set(headers
|
|||||||
FieldNeighborhood.h
|
FieldNeighborhood.h
|
||||||
FunctorBase.h
|
FunctorBase.h
|
||||||
ParametricCoordinates.h
|
ParametricCoordinates.h
|
||||||
PointLocator.h
|
|
||||||
PointLocatorSparseGrid.h
|
PointLocatorSparseGrid.h
|
||||||
TaskBase.h
|
TaskBase.h
|
||||||
)
|
)
|
||||||
@ -43,6 +42,7 @@ set(header_impls
|
|||||||
if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
|
if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
|
||||||
set(headers ${headers}
|
set(headers ${headers}
|
||||||
CellLocator.h
|
CellLocator.h
|
||||||
|
PointLocator.h
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -55,7 +55,6 @@ set(headers
|
|||||||
ArrayPortalHelpers.h
|
ArrayPortalHelpers.h
|
||||||
ArrayPortalUniformPointCoordinates.h
|
ArrayPortalUniformPointCoordinates.h
|
||||||
ArrayPortalValueReference.h
|
ArrayPortalValueReference.h
|
||||||
ArrayPortalVirtual.h
|
|
||||||
Assume.h
|
Assume.h
|
||||||
brigand.hpp
|
brigand.hpp
|
||||||
ConfigureFor32.h
|
ConfigureFor32.h
|
||||||
@ -76,6 +75,12 @@ set(headers
|
|||||||
Windows.h
|
Windows.h
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
|
||||||
|
set(headers ${headers}
|
||||||
|
ArrayPortalVirtual.h
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
vtkm_declare_headers(${headers})
|
vtkm_declare_headers(${headers})
|
||||||
|
|
||||||
vtkm_pyexpander_generated_file(FunctionInterfaceDetailPre.h)
|
vtkm_pyexpander_generated_file(FunctionInterfaceDetailPre.h)
|
||||||
|
Loading…
Reference in New Issue
Block a user