// Copyright (c) Lawrence Livermore National Security, LLC and other Conduit
// Project developers. See top-level LICENSE AND COPYRIGHT files for dates and
// other details. No copyright assignment is required to contribute to Conduit.

//-----------------------------------------------------------------------------
///
/// file: conduit_config.h
///
//-----------------------------------------------------------------------------

#ifndef CONDUIT_CONFIG_H
#define CONDUIT_CONFIG_H

//-----------------------------------------------------------------------------
//
// #define platform check helpers
//
//-----------------------------------------------------------------------------

#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
#define CONDUIT_PLATFORM_WINDOWS
#elif  defined(__APPLE__)
#define CONDUIT_PLATFORM_APPLE
#else
#define CONDUIT_PLATFORM_UNIX
#endif

#cmakedefine CONDUIT_INSTALL_PREFIX "${CONDUIT_INSTALL_PREFIX}"

// version info
#define CONDUIT_VERSION "@CONDUIT_VERSION@"
#define CONDUIT_VERSION_MAJOR @CONDUIT_VERSION_MAJOR@
#define CONDUIT_VERSION_MINOR @CONDUIT_VERSION_MINOR@
#define CONDUIT_VERSION_PATCH @CONDUIT_VERSION_PATCH@

#cmakedefine CONDUIT_GIT_SHA1 "${CONDUIT_GIT_SHA1}"
#cmakedefine CONDUIT_GIT_SHA1_ABBREV "${CONDUIT_GIT_SHA1_ABBREV}"
#cmakedefine CONDUIT_GIT_TAG "${CONDUIT_GIT_TAG}"

#define CONDUIT_SYSTEM_TYPE "@CMAKE_SYSTEM@"

#define CONDUIT_CPP_COMPILER "@CMAKE_CXX_COMPILER@"

#cmakedefine CONDUIT_FORTRAN_COMPILER "${CONDUIT_FORTRAN_COMPILER}"

#cmakedefine CONDUIT_USE_FMT

#cmakedefine CONDUIT_USE_CXX11

#cmakedefine CONDUIT_USE_CALIPER

#endif



