restore vtkm_filter_common with a dummy .cxx
This commit is contained in:
parent
f08a3185f8
commit
93b9f5d746
@ -58,7 +58,6 @@ set(common_headers
|
||||
TaskQueue.h
|
||||
Instantiations.h
|
||||
)
|
||||
vtkm_declare_headers(${common_headers})
|
||||
|
||||
set(common_header_template_sources
|
||||
CellMeasures.hxx
|
||||
@ -69,7 +68,10 @@ set(common_header_template_sources
|
||||
FilterParticleAdvection.hxx
|
||||
FilterTemporalParticleAdvection.hxx
|
||||
)
|
||||
vtkm_declare_headers(${common_header_template_sources})
|
||||
|
||||
set(common_sources_device
|
||||
Filter.cxx
|
||||
)
|
||||
|
||||
set(extra_headers
|
||||
AmrArrays.h
|
||||
@ -197,6 +199,15 @@ vtkm_library(
|
||||
|
||||
add_library(vtkm_filter INTERFACE)
|
||||
|
||||
# Deprecated!!! Just to make all the CMake magic work!!!
|
||||
vtkm_library(
|
||||
NAME vtkm_filter_common
|
||||
TEMPLATE_SOURCES ${common_header_template_sources}
|
||||
HEADERS ${common_headers}
|
||||
DEVICE_SOURCES ${common_sources_device}
|
||||
USE_VTKM_JOB_POOL
|
||||
)
|
||||
|
||||
vtkm_library(
|
||||
NAME vtkm_filter_extra
|
||||
TEMPLATE_SOURCES ${extra_header_template_sources}
|
||||
|
23
vtkm/filter/Filter.cxx
Normal file
23
vtkm/filter/Filter.cxx
Normal file
@ -0,0 +1,23 @@
|
||||
//============================================================================
|
||||
// Copyright (c) Kitware, Inc.
|
||||
// All rights reserved.
|
||||
// See LICENSE.txt for details.
|
||||
//
|
||||
// This software is distributed WITHOUT ANY WARRANTY; without even
|
||||
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
// PURPOSE. See the above copyright notice for more information.
|
||||
//============================================================================
|
||||
|
||||
namespace vtkm
|
||||
{
|
||||
namespace filter
|
||||
{
|
||||
namespace
|
||||
{
|
||||
void dummy()
|
||||
{
|
||||
// The sole purpose of my existence is to generate a .h file by CMake.
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user