COIN-OR::LEMON - Graph Library

Ignore:
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r521 r541  
    2424INCLUDE(FindGhostscript)
    2525
     26ADD_DEFINITIONS(-DHAVE_CONFIG_H)
     27
    2628INCLUDE(CheckTypeSize)
    27 CHECK_TYPE_SIZE("long long" LONG_LONG)
     29CHECK_TYPE_SIZE("long long" LEMON_LONG_LONG)
    2830
    2931ENABLE_TESTING()
  • configure.ac

    r515 r540  
    2828AC_CHECK_TYPE(long long, [long_long_found=yes], [long_long_found=no])
    2929if test x"$long_long_found" = x"yes"; then
    30   AC_DEFINE([HAVE_LONG_LONG], [1], [Define to 1 if you have long long.])
     30  AC_DEFINE([LEMON_HAVE_LONG_LONG], [1], [Define to 1 if you have long long.])
    3131fi
    3232
  • demo/CMakeLists.txt

    r225 r539  
    1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
     1INCLUDE_DIRECTORIES(
     2  ${CMAKE_SOURCE_DIR}
     3  ${PROJECT_BINARY_DIR}
     4)
    25
    36LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
  • lemon/CMakeLists.txt

    r511 r539  
    1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
     1INCLUDE_DIRECTORIES(
     2  ${CMAKE_SOURCE_DIR}
     3  ${PROJECT_BINARY_DIR}
     4)
     5
     6CONFIGURE_FILE(
     7  ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
     8  ${CMAKE_CURRENT_BINARY_DIR}/config.h
     9)
    210
    311ADD_LIBRARY(lemon
     
    1927  COMPONENT headers
    2028  FILES_MATCHING PATTERN "*.h")
     29
     30INSTALL(
     31  FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
     32  DESTINATION include/lemon
     33  COMPONENT headers)
  • lemon/Makefile.am

    r511 r539  
    2424        lemon/color.h \
    2525        lemon/concept_check.h \
     26        lemon/config.h \
    2627        lemon/counter.h \
    2728        lemon/core.h \
  • lemon/bits/default_map.h

    r523 r540  
    9898
    9999
    100 #if defined HAVE_LONG_LONG
     100#if defined LEMON_HAVE_LONG_LONG
    101101
    102102  // long long
  • lemon/config.h.cmake

    r515 r540  
    1 #cmakedefine HAVE_LONG_LONG 1
     1#cmakedefine LEMON_HAVE_LONG_LONG 1
  • lemon/config.h.in

    r515 r540  
    11/* Define to 1 if you have CPLEX. */
    2 #undef HAVE_CPLEX
     2#undef LEMON_HAVE_CPLEX
    33
    44/* Define to 1 if you have GLPK. */
    5 #undef HAVE_GLPK
     5#undef LEMON_HAVE_GLPK
    66
    77/* Define to 1 if you have long long */
    8 #undef HAVE_LONG_LONG
     8#undef LEMON_HAVE_LONG_LONG
  • m4/lx_check_cplex.m4

    r187 r540  
    6262
    6363    if test x"$lx_cplex_found" = x"yes"; then
    64       AC_DEFINE([HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.])
     64      AC_DEFINE([LEMON_HAVE_CPLEX], [1], [Define to 1 if you have CPLEX.])
    6565      AC_MSG_RESULT([yes])
    6666    else
  • m4/lx_check_glpk.m4

    r187 r540  
    6060
    6161    if test x"$lx_glpk_found" = x"yes"; then
    62       AC_DEFINE([HAVE_GLPK], [1], [Define to 1 if you have GLPK.])
     62      AC_DEFINE([LEMON_HAVE_GLPK], [1], [Define to 1 if you have GLPK.])
    6363      AC_MSG_RESULT([yes])
    6464    else
  • m4/lx_check_soplex.m4

    r187 r540  
    5656
    5757    if test x"$lx_soplex_found" = x"yes"; then
    58       AC_DEFINE([HAVE_SOPLEX], [1], [Define to 1 if you have SOPLEX.])
     58      AC_DEFINE([LEMON_HAVE_SOPLEX], [1], [Define to 1 if you have SOPLEX.])
    5959      AC_MSG_RESULT([yes])
    6060    else
  • test/CMakeLists.txt

    r225 r539  
    1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
     1INCLUDE_DIRECTORIES(
     2  ${CMAKE_SOURCE_DIR}
     3  ${PROJECT_BINARY_DIR}
     4)
    25
    36LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
Note: See TracChangeset for help on using the changeset viewer.