Preprocessor helpers
[sol.git] / sol / config.hpp
blobe6ca784ba2300bec72cb12ce930d445a2bdde9de
1 #if !defined(sol_config_hpp_included)
2 #define sol_config_hpp_included
3 /// \defgroup sol_config
4 /// \ingroup sol
5 /// \{
8 /**
9 * \file sol/config.hpp
10 * \brief Project and environment configuration
11 * \author Sven Suursoho
15 #include <sol/config/user.hpp>
16 #include <sol/config/compiler.hpp>
17 #include <sol/config/arch.hpp>
18 #include <sol/config/os.hpp>
21 namespace sol {
24 /// System information
25 class sys_info
27 public:
29 /// Compiler name
30 static char const * const compiler_name;
33 /// Architecture name
34 static char const * const arch_name;
37 /// Operating system name
38 static char const * const os_name;
41 /// Byte ordering types
42 enum endian_type
44 big_endian = SOL_BIG_ENDIAN,
45 little_endian = SOL_LITTLE_ENDIAN,
46 byte_order = SOL_BYTE_ORDER
51 } // namespace sol
54 /// \}
55 #endif // sol_config_hpp_included