DyLP  trunk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
DylpConfig.h
Go to the documentation of this file.
00001 /*
00002    This file is part of the support library for the Dylp LP distribution.
00003 
00004         Copyright (C) 2005 -- 2007 Lou Hafer
00005 
00006         School of Computing Science
00007         Simon Fraser University
00008         Burnaby, B.C., V5A 1S6, Canada
00009         lou@cs.sfu.ca
00010 
00011   This code is licensed under the terms of the Eclipse Public License (EPL).
00012 
00013  * $Id$
00014  *
00015  * Include file for the configuration of DyLP.
00016  *
00017  * On systems where the code is configured with the configure script
00018  * (i.e., compilation is always done with HAVE_CONFIG_H defined), this
00019  * header file includes the automatically generated header file.
00020  *
00021  * On systems that are compiled in other ways (e.g., with the
00022  * Developer Studio), a header files is included to define those
00023  * macros that depend on the operating system and the compiler.  The
00024  * macros that define the configuration of the particular user setting
00025  * (e.g., presence of other COIN-OR packages or third party code) are set
00026  * by the files config_*default.h. The project maintainer needs to remember
00027  * to update these file and choose reasonable defines.
00028  * A user can modify the default setting by editing the config_*default.h files.
00029  */
00030 
00031 #ifndef __DYLPCONFIG_H__
00032 #define __DYLPCONFIG_H__
00033 
00034 #ifdef HAVE_CONFIG_H
00035 #ifdef DYLP_BUILD
00036 #include "config.h"
00037 #else
00038 #include "config_dylp.h"
00039 #endif
00040 
00041 #else /* HAVE_CONFIG_H */
00042 
00043 #ifdef DYLP_BUILD
00044 #include "config_default.h"
00045 #else
00046 #include "config_dylp_default.h"
00047 #endif
00048 
00049 #endif /* HAVE_CONFIG_H */
00050 
00051 #endif /*__DYLPCONFIG_H__*/
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines