install DispatcherBaseDetailInvoke but don't test build it.

This commit is contained in:
Robert Maynard 2015-09-02 16:03:56 -04:00
parent 04e791ad3d
commit ed3949b4c7
2 changed files with 3 additions and 7 deletions

@ -25,6 +25,9 @@ set(headers
ClipTables.h
)
set_source_files_properties(DispatcherBaseDetailInvoke.h
PROPERTIES VTKm_CANT_BE_HEADER_TESTED TRUE)
vtkm_declare_headers(${headers})
vtkm_pyexpander_generated_file(DispatcherBaseDetailInvoke.h)

@ -20,15 +20,10 @@
// **** DO NOT EDIT THIS FILE!!! ****
// This file is automatically generated by FunctionInterfaceDetailPre.h.in
#if !defined(VTKM_TEST_HEADER_BUILD)
//this file can't be test header built.
#if !defined(vtk_m_worklet_internal_DispatcherBase_h)
#error DispatcherBaseDetailInvoke.h must be included from DispatcherBase.h
#endif
// Note that this file is included from the middle of the DispatcherBase.h
// class to provide the implementation of the Invoke method, which requires
// variable length template args. If we choose to support C++11 variable
@ -145,5 +140,3 @@ void Invoke(T1 a1, T2 a2, T3 a3, T4 a4, T5 a5, T6 a6, T7 a7, T8 a8, T9 a9) const
this->StartInvoke(
vtkm::internal::make_FunctionInterface<void>(a1,a2,a3,a4,a5,a6,a7,a8,a9));
}
#endif