lemon/config.h.in
changeset 1184 3c00344f49c9
parent 1108 e00d7b681d8e
child 1136 20f95cd51aba
child 1197 f179aa1045a4
     1.1 --- a/lemon/config.h.in	Mon Jul 16 16:21:40 2018 +0200
     1.2 +++ b/lemon/config.h.in	Wed Oct 17 19:14:07 2018 +0200
     1.3 @@ -1,26 +1,29 @@
     1.4 -/* The version string */
     1.5 -#undef LEMON_VERSION
     1.6 +#ifndef LEMON_CONFIG_H
     1.7 +#define LEMON_CONFIG_H
     1.8  
     1.9 -/* Define to 1 if you have long long */
    1.10 -#undef LEMON_HAVE_LONG_LONG
    1.11 +#define LEMON_VERSION "@PROJECT_VERSION@"
    1.12 +#cmakedefine LEMON_HAVE_LONG_LONG 1
    1.13  
    1.14 -/* Define to 1 if you have any LP solver. */
    1.15 -#undef LEMON_HAVE_LP
    1.16 +#cmakedefine LEMON_WIN32 1
    1.17  
    1.18 -/* Define to 1 if you have any MIP solver. */
    1.19 -#undef LEMON_HAVE_MIP
    1.20 +#cmakedefine LEMON_HAVE_LP 1
    1.21 +#cmakedefine LEMON_HAVE_MIP 1
    1.22 +#cmakedefine LEMON_HAVE_GLPK 1
    1.23 +#cmakedefine LEMON_HAVE_CPLEX 1
    1.24 +#cmakedefine LEMON_HAVE_SOPLEX 1
    1.25 +#cmakedefine LEMON_HAVE_CLP 1
    1.26 +#cmakedefine LEMON_HAVE_CBC 1
    1.27  
    1.28 -/* Define to 1 if you have CPLEX. */
    1.29 -#undef LEMON_HAVE_CPLEX
    1.30 +#define LEMON_CPLEX_ 1
    1.31 +#define LEMON_CLP_ 2
    1.32 +#define LEMON_GLPK_ 3
    1.33 +#define LEMON_SOPLEX_ 4
    1.34 +#define LEMON_CBC_ 5
    1.35  
    1.36 -/* Define to 1 if you have GLPK. */
    1.37 -#undef LEMON_HAVE_GLPK
    1.38 +#cmakedefine LEMON_DEFAULT_LP LEMON_@LEMON_DEFAULT_LP@_
    1.39 +#cmakedefine LEMON_DEFAULT_MIP LEMON_@LEMON_DEFAULT_MIP@_
    1.40  
    1.41 -/* Define to 1 if you have SOPLEX */
    1.42 -#undef LEMON_HAVE_SOPLEX
    1.43 +#cmakedefine LEMON_USE_PTHREAD 1
    1.44 +#cmakedefine LEMON_USE_WIN32_THREADS 1
    1.45  
    1.46 -/* Define to 1 if you have CLP */
    1.47 -#undef LEMON_HAVE_CLP
    1.48 -
    1.49 -/* Define to 1 if you have CBC */
    1.50 -#undef LEMON_HAVE_CBC
    1.51 +#endif