forked from DominicDirkx/pagmo2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.hpp.in
56 lines (41 loc) · 1.73 KB
/
config.hpp.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/* Copyright 2017-2018 PaGMO development team
This file is part of the PaGMO library.
The PaGMO library is free software; you can redistribute it and/or modify
it under the terms of either:
* the GNU Lesser General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your
option) any later version.
or
* the GNU General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any
later version.
or both in parallel, as here.
The PaGMO library is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received copies of the GNU General Public License and the
GNU Lesser General Public License along with the PaGMO library. If not,
see https://www.gnu.org/licenses/. */
#ifndef PAGMO_CONFIG_HPP
#define PAGMO_CONFIG_HPP
// Start of defines instantiated by CMake.
// clang-format off
#define PAGMO_VERSION "@pagmo_VERSION@"
#define PAGMO_VERSION_MAJOR @pagmo_VERSION_MAJOR@
#define PAGMO_VERSION_MINOR @pagmo_VERSION_MINOR@
@PAGMO_ENABLE_EIGEN3@
@PAGMO_ENABLE_NLOPT@
@PAGMO_ENABLE_IPOPT@
@PAGMO_ENABLE_FORK_ISLAND@
// clang-format on
// End of defines instantiated by CMake.
// NOTE: some compilers are not able to deal with the large data
// arrays embedded in the CEC 2013/2014 problems. We thus implement
// here some heuristic to signal the capability of compiling
// these problems on the current platform.
#if !defined(_MSC_VER) && !defined(__APPLE__) && !defined(__MINGW32__)
#define PAGMO_ENABLE_CEC2013
#define PAGMO_ENABLE_CEC2014
#endif
#endif