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

  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_Mili

#cmakedefine PARAVIEW_ENABLE_PYTHON
#cmakedefine PARAVIEW_BUILD_ARCHITECTURE "@PARAVIEW_BUILD_ARCHITECTURE@"

// Added for AutoMPI
#define PARAVIEW_BINARY_DIR "@EXECUTABLE_OUTPUT_PATH@"
#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 SSEND must be used for communication by default.
#cmakedefine PARAVIEW_USE_MPI

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

// defined when qt support is enabled
#cmakedefine PARAVIEW_ENABLE_QT_SUPPORT

// 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 ParaView version of VTK_USE_X
#cmakedefine PARAVIEW_USE_X

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

#cmakedefine VTK_HAS_FFMPEG_SUPPORT
#cmakedefine VTK_HAS_OGGTHEORA_SUPPORT

#cmakedefine PARAVIEW_USE_PISTON

#endif
