- Main Page
- Namespaces
- Classes
- Files
- Directories

- Search for |

- File List
- File Members

# CoinUtilsConfig.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: CoinUtilsConfig.h 1448 2011-06-19 15:34:41Z stefan $
    00006  *
    00007  * Include file for the configuration of CoinUtils.
    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 __COINUTILSCONFIG_H__
    00026 #define __COINUTILSCONFIG_H__
    00027
    00028 #ifdef HAVE_CONFIG_H
    00029 #ifdef COINUTILS_BUILD
    00030 #include "config.h"
    00031 #else
    00032 #include "config_coinutils.h"
    00033 #endif
    00034
    00035 #else /* HAVE_CONFIG_H */
    00036
    00037 #ifdef COINUTILS_BUILD
    00038 #include "config_default.h"
    00039 #else
    00040 #include "config_coinutils_default.h"
    00041 #endif
    00042
    00043 #endif /* HAVE_CONFIG_H */
    00044
    00045 #endif /*__COINUTILSCONFIG_H__*/