Last change
on this file since 1660 was
1660,
checked in by stefan, 10 years ago
|
change to new way of using and installing configuration header files
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
"Author Date Id Revision"
|
File size:
1.3 KB
|
Line | |
---|
1 | /* Copyright (C) 2011 |
---|
2 | * All Rights Reserved. |
---|
3 | * This code is published under the Eclipse Public License. |
---|
4 | * |
---|
5 | * $Id: CbcConfig.h 1660 2011-06-09 13:09:23Z stefan $ |
---|
6 | * |
---|
7 | * Include file for the configuration of Cbc. |
---|
8 | * |
---|
9 | * On systems where the code is configured with the configure script |
---|
10 | * (i.e., compilation is always done with HAVE_CONFIG_H defined), this |
---|
11 | * header file includes the automatically generated header file, and |
---|
12 | * undefines macros that might configure with other Config.h files. |
---|
13 | * |
---|
14 | * On systems that are compiled in other ways (e.g., with the |
---|
15 | * Developer Studio), a header files is included to define those |
---|
16 | * macros that depend on the operating system and the compiler. The |
---|
17 | * macros that define the configuration of the particular user setting |
---|
18 | * (e.g., presence of other COIN-OR packages or third party code) are set |
---|
19 | * by the files config_*default.h. The project maintainer needs to remember |
---|
20 | * to update these file and choose reasonable defines. |
---|
21 | * A user can modify the default setting by editing the config_*default.h files. |
---|
22 | * |
---|
23 | */ |
---|
24 | |
---|
25 | #ifndef __CBCCONFIG_H__ |
---|
26 | #define __CBCCONFIG_H__ |
---|
27 | |
---|
28 | #ifdef HAVE_CONFIG_H |
---|
29 | #ifdef CBC_BUILD |
---|
30 | #include "config.h" |
---|
31 | #else |
---|
32 | #include "config_cbc.h" |
---|
33 | #endif |
---|
34 | |
---|
35 | #else /* HAVE_CONFIG_H */ |
---|
36 | |
---|
37 | #ifdef CBC_BUILD |
---|
38 | #include "config_default.h" |
---|
39 | #else |
---|
40 | #include "config_cbc_default.h" |
---|
41 | #endif |
---|
42 | |
---|
43 | #endif /* HAVE_CONFIG_H */ |
---|
44 | |
---|
45 | #endif /*__CBCCONFIG_H__*/ |
---|
Note: See
TracBrowser
for help on using the repository browser.