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

  Program:   ParaView
  Module:    vtkPVConfig.h.in

  Copyright (c) Kitware, Inc.
  All rights reserved.
  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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.

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

#ifndef vtkPVConfig_h
#define vtkPVConfig_h

#cmakedefine PARAVIEW_USE_ICE_T
#cmakedefine PARAVIEW_USE_VISITBRIDGE

// 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_Boxlib3D
#cmakedefine VISIT_BUILD_READER_Mili

#cmakedefine PARAVIEW_ENABLE_PYTHON
#ifdef PARAVIEW_ENABLE_PYTHON
#cmakedefine VTK_PYTHON_VERSION "@VTK_PYTHON_VERSION@"
#endif
#cmakedefine PARAVIEW_FREEZE_PYTHON
#cmakedefine PARAVIEW_BUILD_ARCHITECTURE "@PARAVIEW_BUILD_ARCHITECTURE@"

#cmakedefine PARAVIEW_ENABLE_MATPLOTLIB

// 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@"

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

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

#define PARAVIEW_VERSION_MAJOR @PARAVIEW_VERSION_MAJOR@
#define PARAVIEW_VERSION_MINOR @PARAVIEW_VERSION_MINOR@
#define PARAVIEW_VERSION_PATCH @PARAVIEW_VERSION_PATCH@
#define PARAVIEW_VERSION "@PARAVIEW_VERSION@"
#define PARAVIEW_VERSION_FULL "@PARAVIEW_VERSION_FULL@"

// 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@"

#define CMAKE_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@"
@PARAVIEW_CONFIG_EXTRA_DEFINES@

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

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

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

// defined when qt support is enabled
#cmakedefine PARAVIEW_ENABLE_QT_SUPPORT

#ifdef PARAVIEW_ENABLE_QT_SUPPORT
# define PARAVIEW_QT_VERSION @PARAVIEW_QT_VERSION@
#endif

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

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

#cmakedefine BUILD_SHARED_LIBS
#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

// The default prevision value for conversion for string to double
// and double to string
#define DEFAULT_DOUBLE_PRECISION_VALUE 16

#cmakedefine PARAVIEW_ENABLE_FFMPEG

#cmakedefine PARAVIEW_USE_OSPRAY

#cmakedefine PARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION

#endif
