generators/netgen/CMakeLists.txt
author Alpar Juttner <alpar@cs.elte.hu>
Sun, 11 Dec 2011 06:53:16 +0100
changeset 8 3c30bd0f9ccc
parent 6 a3ef33a8694a
permissions -rw-r--r--
Data generation target 'net-gen' added
     1 INCLUDE_DIRECTORIES(
     2   # ${CMAKE_SOURCE_DIR}/tests
     3   # ${CMAKE_BINARY_DIR}/src
     4 )
     5 
     6 LINK_DIRECTORIES(
     7   # ${CMAKE_BINARY_DIR}/lemon
     8 )
     9 
    10 ADD_EXECUTABLE(netgen
    11   main.cc netgen.c index.c random.c
    12 )
    13 
    14 SET_TARGET_PROPERTIES(netgen PROPERTIES COMPILE_DEFINITIONS "DIMACS")
    15 
    16 TARGET_LINK_LIBRARIES(netgen
    17   lemon
    18 )