lemon/config.h.cmake
author Akos Ladanyi <ladanyi@tmit.bme.hu>
Fri, 29 May 2009 12:44:37 +0100
changeset 679 9c7639f3a741
parent 627 20dac2104519
child 979 43a91b33f374
permissions -rw-r--r--
Minor CMake improvements

* Use the empty ELSE(), ENDIF(), ENDMACRO(), etc. syntax since this improves
readability and requires less typing.
* Use FIND_PACKAGE() instead of INCLUDE().
* Use the value of CMAKE_COMMAND variable instead of cmake, since this works
even if cmake is not in the PATH.
ladanyi@678
     1
#define LEMON_VERSION "@PROJECT_VERSION@"
ladanyi@500
     2
#cmakedefine LEMON_HAVE_LONG_LONG 1
ladanyi@627
     3
#cmakedefine LEMON_HAVE_LP 1
ladanyi@627
     4
#cmakedefine LEMON_HAVE_MIP 1
ladanyi@627
     5
#cmakedefine LEMON_HAVE_GLPK 1
ladanyi@627
     6
#cmakedefine LEMON_HAVE_CPLEX 1
ladanyi@627
     7
#cmakedefine LEMON_HAVE_CLP 1
ladanyi@627
     8
#cmakedefine LEMON_HAVE_CBC 1