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

- File List
- File Members

AlpsConfig.h
Go to the documentation of this file.
1 /*===========================================================================*
2 * This file is part of the Abstract Library for Parallel Search (ALPS). *
3 * *
4 * ALPS is distributed under the Eclipse Public License as part of the *
5 * COIN-OR repository (http://www.coin-or.org). *
6 * *
7 * Authors: *
8 * *
9 * Yan Xu, Lehigh University *
10 * Ted Ralphs, Lehigh University *
11 * *
12 * Conceptual Design: *
13 * *
14 * Yan Xu, Lehigh University *
15 * Ted Ralphs, Lehigh University *
16 * Laszlo Ladanyi, IBM T.J. Watson Research Center *
17 * Matthew Saltzman, Clemson University *
18 * *
19 * *
20 * Copyright (C) 2001-2013, Lehigh University, Yan Xu, and Ted Ralphs. *
21 *===========================================================================*/
22
23 /* Include file for the configuration of Alps.
24 *
25 * On systems where the code is configured with the configure script
26 * (i.e., compilation is always done with HAVE_CONFIG_H defined), this
27 * header file includes the automatically generated header file, and
28 * undefines macros that might configure with other Config.h files.
29 *
30 * On systems that are compiled in other ways (e.g., with the
31 * Developer Studio), a header files is included to define those
32 * macros that depend on the operating system and the compiler. The
33 * macros that define the configuration of the particular user setting
34 * (e.g., presence of other COIN-OR packages or third party code) are set
35 * by the files config_*default.h. The project maintainer needs to remember
36 * to update these file and choose reasonable defines.
37 * A user can modify the default setting by editing the config_*default.h files.
38 *
39 */
40
41 #ifndef __ALPSCONFIG_H__
42 #define __ALPSCONFIG_H__
43
44 #ifdef HAVE_CONFIG_H
45 #ifdef ALPS_BUILD
46 #include "config.h"
47 #else
48 #include "config_alps.h"
49 #endif
50
51 #else /* HAVE_CONFIG_H */
52
53 #ifdef ALPS_BUILD
54 #include "config_default.h"
55 #else
56 #include "config_alps_default.h"
57 #endif
58
59 #endif /* HAVE_CONFIG_H */
60
61 #endif /*__ALPSCONFIG_H__*/
config_alps_default.h