- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# /home/coin/svn-release/Alps-1.4.8/Alps/src/AlpsConfig.h

Go to the documentation of this file.

    00001 /*===========================================================================*
    00002  * This file is part of the Abstract Library for Parallel Search (ALPS).     *
    00003  *                                                                           *
    00004  * ALPS is distributed under the Eclipse Public License as part of the       *
    00005  * COIN-OR repository (http://www.coin-or.org).                              *
    00006  *                                                                           *
    00007  * Authors:                                                                  *
    00008  *                                                                           *
    00009  *          Yan Xu, Lehigh University                                        *
    00010  *          Ted Ralphs, Lehigh University                                    *
    00011  *                                                                           *
    00012  * Conceptual Design:                                                        *
    00013  *                                                                           *
    00014  *          Yan Xu, Lehigh University                                        *
    00015  *          Ted Ralphs, Lehigh University                                    *
    00016  *          Laszlo Ladanyi, IBM T.J. Watson Research Center                  *
    00017  *          Matthew Saltzman, Clemson University                             *
    00018  *                                                                           *
    00019  *                                                                           *
    00020  * Copyright (C) 2001-2013, Lehigh University, Yan Xu, and Ted Ralphs.       *
    00021  *===========================================================================*/
    00022
    00023 /* Include file for the configuration of Alps.
    00024  *
    00025  * On systems where the code is configured with the configure script
    00026  * (i.e., compilation is always done with HAVE_CONFIG_H defined), this
    00027  * header file includes the automatically generated header file, and
    00028  * undefines macros that might configure with other Config.h files.
    00029  *
    00030  * On systems that are compiled in other ways (e.g., with the
    00031  * Developer Studio), a header files is included to define those
    00032  * macros that depend on the operating system and the compiler.  The
    00033  * macros that define the configuration of the particular user setting
    00034  * (e.g., presence of other COIN-OR packages or third party code) are set
    00035  * by the files config_*default.h. The project maintainer needs to remember
    00036  * to update these file and choose reasonable defines.
    00037  * A user can modify the default setting by editing the config_*default.h files.
    00038  *
    00039  */
    00040
    00041 #ifndef __ALPSCONFIG_H__
    00042 #define __ALPSCONFIG_H__
    00043
    00044 #ifdef HAVE_CONFIG_H
    00045 #ifdef ALPS_BUILD
    00046 #include "config.h"
    00047 #else
    00048 #include "config_alps.h"
    00049 #endif
    00050
    00051 #else /* HAVE_CONFIG_H */
    00052
    00053 #ifdef ALPS_BUILD
    00054 #include "config_default.h"
    00055 #else
    00056 #include "config_alps_default.h"
    00057 #endif
    00058
    00059 #endif /* HAVE_CONFIG_H */
    00060
    00061 #endif /*__ALPSCONFIG_H__*/