Configure.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtkm_diy_h
11 #define vtkm_diy_h
12 
14 
15 // Diy headers include windows.h. Use the following header file so that only the
16 // lean version of windows.h is included.
17 // (Without problematic macros like MIN, Max, GetMessage, etc)
18 #include <vtkm/internal/Windows.h>
19 
20 /* Use the diy library configured for VTM-m. */
21 #define VTKM_USE_EXTERNAL_DIY 0
22 
23 /* Need to provide a way to for Serialziation
24  * specializations to be injected into the correct
25  * namespace. This solves the issue while allowing
26  * for VTK-m to support an internal and external diy
27  * existing at the same time. */
28 #if(VTKM_USE_EXTERNAL_DIY)
29 # define mangled_diy_namespace diy
30 #else
31 # define mangled_diy_namespace vtkmdiy
32 #endif
33 
34 #endif