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
alpar@6
     1
INCLUDE_DIRECTORIES(
alpar@6
     2
  # ${CMAKE_SOURCE_DIR}/tests
alpar@6
     3
  # ${CMAKE_BINARY_DIR}/src
alpar@6
     4
)
alpar@6
     5
alpar@6
     6
LINK_DIRECTORIES(
alpar@6
     7
  # ${CMAKE_BINARY_DIR}/lemon
alpar@6
     8
)
alpar@6
     9
alpar@6
    10
ADD_EXECUTABLE(netgen
alpar@7
    11
  main.cc netgen.c index.c random.c
alpar@6
    12
)
alpar@6
    13
alpar@7
    14
SET_TARGET_PROPERTIES(netgen PROPERTIES COMPILE_DEFINITIONS "DIMACS")
alpar@7
    15
alpar@7
    16
TARGET_LINK_LIBRARIES(netgen
alpar@7
    17
  lemon
alpar@7
    18
)