Bonmin  1.7
BonminConfig.h
Go to the documentation of this file.
00001 /* Copyright (C) 2011
00002  * All Rights Reserved.
00003  * This code is published under the Eclipse Public License.
00004  *
00005  * $Id: BonminConfig.h 1847 2011-06-09 14:16:29Z stefan $
00006  *
00007  * Include file for the configuration of Bonmin.
00008  *
00009  * On systems where the code is configured with the configure script
00010  * (i.e., compilation is always done with HAVE_CONFIG_H defined), this
00011  * header file includes the automatically generated header file, and
00012  * undefines macros that might configure with other Config.h files.
00013  *
00014  * On systems that are compiled in other ways (e.g., with the
00015  * Developer Studio), a header files is included to define those
00016  * macros that depend on the operating system and the compiler.  The
00017  * macros that define the configuration of the particular user setting
00018  * (e.g., presence of other COIN-OR packages or third party code) are set
00019  * by the files config_*default.h. The project maintainer needs to remember
00020  * to update these file and choose reasonable defines.
00021  * A user can modify the default setting by editing the config_*default.h files.
00022  *
00023  */
00024 
00025 #ifndef __BONMINCONFIG_H__
00026 #define __BONMINCONFIG_H__
00027 
00028 #ifdef HAVE_CONFIG_H
00029 #ifdef BONMIN_BUILD
00030 #include "config.h"
00031 #else
00032 #include "config_bonmin.h"
00033 #endif
00034 
00035 #else /* HAVE_CONFIG_H */
00036 
00037 #ifdef BONMIN_BUILD
00038 #include "config_default.h"
00039 #else
00040 #include "config_bonmin_default.h"
00041 #endif
00042 
00043 #endif /* HAVE_CONFIG_H */
00044 
00045 #endif /*__BONMINCONFIG_H__*/