Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/celeritas_cmake_strings.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*------------------------------- -*- C -*- ---------------------------------*
0002  * Copyright Celeritas contributors: see top-level COPYRIGHT file for details
0003  * SPDX-License-Identifier: (Apache-2.0 OR MIT)
0004  *---------------------------------------------------------------------------*/
0005 /*!
0006  * \file celeritas_cmake_strings.h
0007  * \brief Detailed CMake configuration information.
0008  * \deprecated This file should be replaced by "corecel/Config.hh".
0009  */
0010 // DEPRECATED: remove in Celeritas v1.0
0011 //---------------------------------------------------------------------------//
0012 #ifndef celeritas_cmake_strings_h
0013 #define celeritas_cmake_strings_h
0014 
0015 #if __cplusplus < 201703L
0016 #    error "Celeritas requires C++17 or greater and is not C compatible"
0017 #endif
0018 
0019 #if __GNUC__ > 8 || __clang__
0020 #    pragma GCC warning \
0021         "celeritas_cmake_strings.h is deprecated and should be replaced by \"corecel/Config.hh\""
0022 #endif
0023 
0024 #include "corecel/Config.hh"
0025 
0026 #endif /* celeritas_cmake_strings_h */