COIN-OR::LEMON - Graph Library

Ticket #401: c99b23b1ef50.patch

File c99b23b1ef50.patch, 1.2 KB (added by Alpar Juttner, 14 years ago)
  • CMakeLists.txt

    # HG changeset patch
    # User Alpar Juttner <alpar@cs.elte.hu>
    # Date 1291379198 -3600
    # Node ID c99b23b1ef50be26c6ed095240a6d7b4dc97b42f
    # Parent  4980b05606bdffb4ca3c522a9449dd5b1f5310d4
    Add contrib dir (#401)
    
    diff --git a/CMakeLists.txt b/CMakeLists.txt
    a b  
    124124
    125125ADD_SUBDIRECTORY(lemon)
    126126IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR})
     127  ADD_SUBDIRECTORY(contrib)
    127128  ADD_SUBDIRECTORY(demo)
    128129  ADD_SUBDIRECTORY(tools)
    129130  ADD_SUBDIRECTORY(doc)
  • new file contrib/CMakeLists.txt

    diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt
    new file mode 100644
    - +  
     1INCLUDE_DIRECTORIES(
     2  ${PROJECT_SOURCE_DIR}
     3  ${PROJECT_BINARY_DIR}
     4)
     5
     6LINK_DIRECTORIES(
     7  ${PROJECT_BINARY_DIR}/lemon
     8)
     9
     10# Uncomment (and adjust) the following two lines. 'myprog' is the name
     11# of the final executable ('.exe' will automatically be added to the
     12# name on Windows) and 'myprog-main.cc' is the source code it is
     13# compiled from. You can add more source files separated by
     14# whitespaces. Moreover, you can add multiple similar blocks if you
     15# want to make more than one executables.
     16
     17# ADD_EXECUTABLE(myprog myprog-main.cc)
     18# TARGET_LINK_LIBRARIES(myprog lemon)
     19