Alps  2.0.2
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  * Aykut Bulut, Lehigh University *
11  * Ted Ralphs, Lehigh University *
12  * *
13  * Conceptual Design: *
14  * *
15  * Yan Xu, Lehigh University *
16  * Ted Ralphs, Lehigh University *
17  * Laszlo Ladanyi, IBM T.J. Watson Research Center *
18  * Matthew Saltzman, Clemson University *
19  * *
20  * *
21  * Copyright (C) 2001-2023, Lehigh University, Yan Xu, Aykut Bulut, and *
22  * Ted Ralphs. *
23  * All Rights Reserved. *
24  *===========================================================================*/
25 
26 
27 /* Include file for the configuration of Alps.
28  *
29  * On systems where the code is configured with the configure script
30  * (i.e., compilation is always done with HAVE_CONFIG_H defined), this
31  * header file includes the automatically generated header file, and
32  * undefines macros that might configure with other Config.h files.
33  *
34  * On systems that are compiled in other ways (e.g., with the
35  * Developer Studio), a header files is included to define those
36  * macros that depend on the operating system and the compiler. The
37  * macros that define the configuration of the particular user setting
38  * (e.g., presence of other COIN-OR packages or third party code) are set
39  * by the files config_*default.h. The project maintainer needs to remember
40  * to update these file and choose reasonable defines.
41  * A user can modify the default setting by editing the config_*default.h files.
42  *
43  */
44 
45 #ifndef __ALPSCONFIG_H__
46 #define __ALPSCONFIG_H__
47 
48 #ifdef HAVE_CONFIG_H
49 #ifdef ALPS_BUILD
50 #include "config.h"
51 #else
52 #include "config_alps.h"
53 #endif
54 
55 #else /* HAVE_CONFIG_H */
56 
57 #ifdef ALPS_BUILD
58 #include "config_default.h"
59 #else
60 #include "config_alps_default.h"
61 #endif
62 
63 #endif /* HAVE_CONFIG_H */
64 
65 #endif /*__ALPSCONFIG_H__*/
config_default.h
config_alps_default.h