DCCL v4
def.h
1 // Copyright 2012-2023:
2 // GobySoft, LLC (2013-)
3 // Massachusetts Institute of Technology (2007-2014)
4 // Community contributors (see AUTHORS file)
5 // File authors:
6 // Toby Schneider <toby@gobysoft.org>
7 //
8 //
9 // This file is part of the Dynamic Compact Control Language Library
10 // ("DCCL").
11 //
12 // DCCL is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU Lesser General Public License as published by
14 // the Free Software Foundation, either version 2.1 of the License, or
15 // (at your option) any later version.
16 //
17 // DCCL is distributed in the hope that it will be useful,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU Lesser General Public License for more details.
21 //
22 // You should have received a copy of the GNU Lesser General Public License
23 // along with DCCL. If not, see <http://www.gnu.org/licenses/>.
24 #ifndef DEF20230327H
25 #define DEF20230327H
26 
27 // sets CMake defined compile-time definitions (used with configure_file())
28 
29 // clang-format off
30 #define DCCL_HAS_CRYPTOPP 1
31 #define DCCL_HAS_B64 1
32 #define DCCL_HAS_LUA 1
33 #define DCCL_THREAD_SUPPORT 1
34 #define DCCL_COMPILED_CXX_STANDARD 14
35 
36 #if DCCL_COMPILED_CXX_STANDARD >= 17
37 #define DCCL_HAS_CPP17
38 #endif
39 #if DCCL_COMPILED_CXX_STANDARD >= 20
40 #define DCCL_HAS_CPP20
41 #endif
42 // clang-format on
43 
44 #endif