DyLP 1.10.4
Loading...
Searching...
No Matches
DylpConfig.h
Go to the documentation of this file.
1/*
2 This file is part of the support library for the Dylp LP distribution.
3
4 Copyright (C) 2005 -- 2007 Lou Hafer
5
6 School of Computing Science
7 Simon Fraser University
8 Burnaby, B.C., V5A 1S6, Canada
9 lou@cs.sfu.ca
10
11 This code is licensed under the terms of the Eclipse Public License (EPL).
12
13 * $Id$
14 *
15 * Include file for the configuration of DyLP.
16 *
17 * On systems where the code is configured with the configure script
18 * (i.e., compilation is always done with HAVE_CONFIG_H defined), this
19 * header file includes the automatically generated header file.
20 *
21 * On systems that are compiled in other ways (e.g., with the
22 * Developer Studio), a header files is included to define those
23 * macros that depend on the operating system and the compiler. The
24 * macros that define the configuration of the particular user setting
25 * (e.g., presence of other COIN-OR packages or third party code) are set
26 * by the files config_*default.h. The project maintainer needs to remember
27 * to update these file and choose reasonable defines.
28 * A user can modify the default setting by editing the config_*default.h files.
29 */
30
31#ifndef __DYLPCONFIG_H__
32#define __DYLPCONFIG_H__
33
34#ifdef HAVE_CONFIG_H
35#ifdef DYLP_BUILD
36#include "config.h"
37#else
38#include "config_dylp.h"
39#endif
40
41#else /* HAVE_CONFIG_H */
42
43#ifdef DYLP_BUILD
44#include "config_default.h"
45#else
46#include "config_dylp_default.h"
47#endif
48
49#endif /* HAVE_CONFIG_H */
50
51#endif /*__DYLPCONFIG_H__*/