vtkPVConfig.h.in 3.26 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 26 27

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

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

32 33
#cmakedefine PARAVIEW_ENABLE_MATPLOTLIB

34 35 36 37 38 39 40 41 42
// 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@"

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

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

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

57 58 59 60 61
// Some runtime informations to be displayed in About box:
#define OPENGL_gl_LIBRARY   "@OPENGL_gl_LIBRARY@"
#define OPENGL_INCLUDE_DIR  "@OPENGL_INCLUDE_DIR@"
#define CMAKE_BUILD_TYPE    "@CMAKE_BUILD_TYPE@"

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

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

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

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

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

77 78 79
// ParaView data root (useful for testing).
#define PARAVIEW_DATA_ROOT "@PARAVIEW_DATA_ROOT@"

80 81 82
// Should chroma-subsampling be used by default?
#cmakedefine PARAVIEW_OGGTHEORA_USE_SUBSAMPLING

83
#cmakedefine BUILD_SHARED_LIBS
84 85 86 87 88
#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
89

90 91 92 93
// The default prevision value for conversion for string to double
// and double to string
#define DEFAULT_DOUBLE_PRECISION_VALUE 16

94
#cmakedefine PARAVIEW_ENABLE_FFMPEG
95

96 97
#cmakedefine PARAVIEW_USE_PISTON

Andy Cedilnik's avatar
Andy Cedilnik committed
98
#endif