Branch data Line data Source code
1 : : // ***************************************************************************** 2 : : /*! 3 : : \file src/Main/XystConfig.cpp 4 : : \copyright 2012-2015 J. Bakosi, 5 : : 2016-2018 Los Alamos National Security, LLC., 6 : : 2019-2021 Triad National Security, LLC., 7 : : 2022-2024 J. Bakosi 8 : : All rights reserved. See the LICENSE file for details. 9 : : \brief Xyst configuration imported from cmake 10 : : \details Xyst configuration inported from cmake. 11 : : \see src/CMakeListst.txt 12 : : */ 13 : : // ***************************************************************************** 14 : : 15 : : #include <string> 16 : : 17 : : #include "XystConfig.hpp" 18 : : 19 : : namespace tk { 20 : : 21 : : #define UNITTEST_EXECUTABLE "unittest" 22 : : #define INCITER_EXECUTABLE "inciter" 23 : : #define MESHCONV_EXECUTABLE "meshconv" 24 : : 25 : : #define COMPILER "/usr/bin/mpicxx" 26 : : #define GIT_COMMIT "5689ba12dc66a776d3d75f1ee48cc7d78eaa18dc" 27 : : #define BUILD_HOSTNAME "sprout" 28 : : #define BUILD_TYPE "debug" 29 : : #define BUILD_DATE "Fri Nov 22 07:09:41 PM CET 2024" 30 : : #define REGRESSION_DIR "/home/jbakosi/code/xyst/tests/regression" 31 : : 32 : : // Accessor definitions as strings of configuration values imported from cmake 33 : : 34 [ + - ]: 3 : std::string unittest_executable() { return UNITTEST_EXECUTABLE; } 35 [ + - ]: 254 : std::string inciter_executable() { return INCITER_EXECUTABLE; } 36 [ + - ]: 21 : std::string meshconv_executable() { return MESHCONV_EXECUTABLE; } 37 : : 38 [ + - ]: 1065 : std::string git_commit() { return GIT_COMMIT; } 39 [ + - ]: 275 : std::string compiler() { return COMPILER; } 40 [ + - ]: 275 : std::string build_hostname() { return BUILD_HOSTNAME; } 41 [ + - ]: 275 : std::string build_type() { return BUILD_TYPE; } 42 [ + - ]: 275 : std::string build_date() { return BUILD_DATE; } 43 [ + - ]: 14 : std::string regression_dir() { return REGRESSION_DIR; } 44 : : 45 : : } // tk::