Osi  trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
OsiConfig.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$
00006  *
00007  * Include file for the configuration of Osi.
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.
00012  *
00013  * On systems that are compiled in other ways (e.g., with the
00014  * Developer Studio), a header files is included to define those
00015  * macros that depend on the operating system and the compiler.  The
00016  * macros that define the configuration of the particular user setting
00017  * (e.g., presence of other COIN-OR packages or third party code) are set
00018  * by the files config_*default.h. The project maintainer needs to remember
00019  * to update these file and choose reasonable defines.
00020  * A user can modify the default setting by editing the config_*default.h files.
00021  */
00022 
00023 #ifndef __OSICONFIG_H__
00024 #define __OSICONFIG_H__
00025 
00026 #ifdef HAVE_CONFIG_H
00027 #ifdef OSI_BUILD
00028 #include "config.h"
00029 #else
00030 #include "config_osi.h"
00031 #endif
00032 
00033 #else /* HAVE_CONFIG_H */
00034 
00035 #ifdef OSI_BUILD
00036 #include "config_default.h"
00037 #else
00038 #include "config_osi_default.h"
00039 #endif
00040 
00041 #endif /* HAVE_CONFIG_H */
00042 
00043 #endif /*__OSICONFIG_H__*/
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines