vtkPVConfig.h.in 3.59 KB
Newer Older
Andy Cedilnik's avatar
Andy Cedilnik committed
1
/*=========================================================================
2

3
  Program:   ParaView
Andy Cedilnik's avatar
Andy Cedilnik committed
4 5
  Module:    vtkPVConfig.h.in

6 7 8
  Copyright (c) Kitware, Inc.
  All rights reserved.
  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
Andy Cedilnik's avatar
Andy Cedilnik committed
9

10 11 12
     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.
Andy Cedilnik's avatar
Andy Cedilnik committed
13 14 15

=========================================================================*/

16 17
#ifndef vtkPVConfig_h
#define vtkPVConfig_h
Andy Cedilnik's avatar
Andy Cedilnik committed
18

Andy Cedilnik's avatar
Andy Cedilnik committed
19
#cmakedefine PARAVIEW_USE_ICE_T
20
#cmakedefine PARAVIEW_USE_VISITBRIDGE
21 22 23 24 25

// flags controlling various visit-bridge components being built.
#cmakedefine VISIT_BUILD_READER_CGNS
#cmakedefine VISIT_BUILD_READER_GMV
#cmakedefine VISIT_BUILD_READER_Silo
26
#cmakedefine VISIT_BUILD_READER_Boxlib3D
27 28
#cmakedefine VISIT_BUILD_READER_Mili

29
#cmakedefine PARAVIEW_ENABLE_PYTHON
30
#cmakedefine PARAVIEW_FREEZE_PYTHON
31
#cmakedefine PARAVIEW_BUILD_ARCHITECTURE "@PARAVIEW_BUILD_ARCHITECTURE@"
32

33 34
#cmakedefine PARAVIEW_ENABLE_MATPLOTLIB

35 36 37 38 39 40 41 42 43
// Added for AutoMPI
#cmakedefine VTK_MPIRUN_EXE "@MPIEXEC@"
#cmakedefine VTK_MPI_PRENUMPROC_FLAGS "@VTK_MPI_PRENUMPROC_FLAGS@"
#cmakedefine VTK_MPI_NUMPROC_FLAG "@VTK_MPI_NUMPROC_FLAG@"
#cmakedefine VTK_MPI_PREFLAGS "@VTK_MPI_PREFLAGS@"
#cmakedefine VTK_MPI_POSTFLAGS "@VTK_MPI_POSTFLAGS@"
#cmakedefine VTK_MPI_SERVER_PREFLAGS "@VTK_MPI_SERVER_PREFLAGS@"
#cmakedefine VTK_MPI_SERVER_POSTFLAGS "@VTK_MPI_SERVER_POSTFLAGS@"

44 45 46
// Indicates the Qt support is enabled in VTK.
#cmakedefine VTK_USE_QVTK

47 48
// Build ParaView with Floating Point Exceptions turned on
#cmakedefine PARAVIEW_ENABLE_FPE
49 50
//Build ParaView with enforced secure connection (--connect-id)
#cmakedefine PARAVIEW_ALWAYS_SECURE_CONNECTION
51

52 53 54
#define PARAVIEW_VERSION_MAJOR @PARAVIEW_VERSION_MAJOR@
#define PARAVIEW_VERSION_MINOR @PARAVIEW_VERSION_MINOR@
#define PARAVIEW_VERSION_PATCH @PARAVIEW_VERSION_PATCH@
55 56
#define PARAVIEW_VERSION "@PARAVIEW_VERSION@"
#define PARAVIEW_VERSION_FULL "@PARAVIEW_VERSION_FULL@"
Andy Cedilnik's avatar
Andy Cedilnik committed
57

luz paz's avatar
luz paz committed
58
// Some runtime information to be displayed in About box:
59 60 61 62
#define OPENGL_gl_LIBRARY   "@OPENGL_gl_LIBRARY@"
#define OPENGL_INCLUDE_DIR  "@OPENGL_INCLUDE_DIR@"
#define CMAKE_BUILD_TYPE    "@CMAKE_BUILD_TYPE@"

63
#define CMAKE_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@"
64
@PARAVIEW_CONFIG_EXTRA_DEFINES@
65

66
// defined when ParaView is built with MPI.
67 68
#cmakedefine PARAVIEW_USE_MPI

69 70 71
// defined when SSEND must be used for communication by default.
#cmakedefine PARAVIEW_USE_MPI_SSEND

72 73 74
// defined when client processes must init MPI by default.
#cmakedefine PARAVIEW_INITIALIZE_MPI_ON_CLIENT

75 76 77
// defined when qt support is enabled
#cmakedefine PARAVIEW_ENABLE_QT_SUPPORT

78 79 80 81
#ifdef PARAVIEW_ENABLE_QT_SUPPORT
# define PARAVIEW_QT_VERSION @PARAVIEW_QT_VERSION@
#endif

82 83 84
// defined when vtk-m support is enabled
#cmakedefine PARAVIEW_USE_VTKM

85 86 87
// ParaView data root (useful for testing).
#define PARAVIEW_DATA_ROOT "@PARAVIEW_DATA_ROOT@"

88 89 90
// Should chroma-subsampling be used by default?
#cmakedefine PARAVIEW_OGGTHEORA_USE_SUBSAMPLING

91
#cmakedefine BUILD_SHARED_LIBS
92 93 94 95 96
#ifdef BUILD_SHARED_LIBS
// for sake of old code, we define the PARAVIEW_BUILD_SHARED_LIBS variable. This
// can be deprecated once the cleanup is complete.
# define PARAVIEW_BUILD_SHARED_LIBS
#endif
97

98 99 100 101
// The default prevision value for conversion for string to double
// and double to string
#define DEFAULT_DOUBLE_PRECISION_VALUE 16

102
#cmakedefine PARAVIEW_ENABLE_FFMPEG
103

104
#cmakedefine PARAVIEW_USE_OSPRAY
105

106 107
#cmakedefine PARAVIEW_USE_OPENTURNS

108 109
#cmakedefine PARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION

tfogal's avatar
tfogal committed
110 111
#cmakedefine PARAVIEW_ENABLE_NVPIPE

Andy Cedilnik's avatar
Andy Cedilnik committed
112
#endif