demo/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Sun, 15 Jun 2008 22:05:23 +0200
changeset 171 02f4d5d9bfd7
child 225 c5a40fc54f1a
permissions -rw-r--r--
Improve and redesign test programs + unify their output (ticket #25)
- Move graph related utilities form test_tools.h to graph_test.h.
- Move the contents of graph_utils_test.h to graph_utils_test.cc.
- Rename map_test.h -> graph_maps_test.h.
- Rename digraph_test.h -> graph_test.h.
- Many improvements in the following files:
* digraph_test.cc
* graph_test.cc
* graph_test.h
* graph_maps_test.h
* graph_utils_test.cc
* bfs_test.cc
* dfs_test.cc
* counter_test.cc
- Test programs print messages only if it really seems necessary.
- Remove \file commands form .cc test files.
ladanyi@141
     1
include_directories (${LEMON_SOURCE_DIR})
ladanyi@141
     2
ladanyi@141
     3
link_directories (${LEMON_BINARY_DIR}/lemon)
ladanyi@141
     4
ladanyi@141
     5
set (DEMOS
ladanyi@141
     6
  arg_parser_demo
ladanyi@141
     7
  graph_to_eps_demo
ladanyi@141
     8
  lgf_demo)
ladanyi@141
     9
ladanyi@141
    10
foreach (DEMO_NAME ${DEMOS})
ladanyi@141
    11
  add_executable (${DEMO_NAME} ${DEMO_NAME}.cc)
ladanyi@141
    12
  target_link_libraries (${DEMO_NAME} lemon)
ladanyi@141
    13
  endforeach (DEMO_NAME)