coin-Bcp
BcpConfig.h
Go to the documentation of this file.
1 /* Include file for the configuration of Alps.
2  *
3  * On systems where the code is configured with the configure script
4  * (i.e., compilation is always done with HAVE_CONFIG_H defined), this
5  * header file includes the automatically generated header file, and
6  * undefines macros that might configure with other Config.h files.
7  *
8  * On systems that are compiled in other ways (e.g., with the
9  * Developer Studio), a header files is included to define those
10  * macros that depend on the operating system and the compiler. The
11  * macros that define the configuration of the particular user setting
12  * (e.g., presence of other COIN-OR packages or third party code) are set
13  * by the files config_*default.h. The project maintainer needs to remember
14  * to update these file and choose reasonable defines.
15  * A user can modify the default setting by editing the config_*default.h files.
16  *
17  */
18 
19 #ifndef __BCPCONFIG_H__
20 #define __BCPCONFIG_H__
21 
22 #ifdef HAVE_CONFIG_H
23 #ifdef BCP_BUILD
24 #include "config.h"
25 #else
26 #include "config_bcp.h"
27 #endif
28 
29 #else /* HAVE_CONFIG_H */
30 
31 #ifdef BCP_BUILD
32 #include "config_default.h"
33 #else
34 #include "config_bcp_default.h"
35 #endif
36 
37 #endif /* HAVE_CONFIG_H */
38 
39 #endif /*__BCPCONFIG_H__*/