test/CMakeLists.txt
author Alpar Juttner <alpar@cs.elte.hu>
Mon, 19 Jan 2009 11:42:15 +0000
changeset 495 c46afb3f67a6
parent 490 a1155a9e8e09
parent 491 68fe66e2b34a
child 496 17d918051964
permissions -rw-r--r--
(.hg)ignore more build-like dirs (*objs* and *build*)
     1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
     2 
     3 LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
     4 
     5 SET(TESTS
     6   adaptors_test
     7   bfs_test
     8   circulation_test
     9   counter_test
    10   dfs_test
    11   digraph_test
    12   dijkstra_test
    13   dim_test
    14   error_test
    15   edge_set_test
    16   graph_copy_test
    17   graph_test
    18   graph_utils_test
    19   hao_orlin_test
    20   heap_test
    21   kruskal_test
    22   lp_test
    23   mip_test
    24   maps_test
    25   max_matching_test
    26   radix_sort_test
    27   path_test
    28   preflow_test
    29   random_test
    30   suurballe_test
    31   time_measure_test
    32   unionfind_test)
    33 
    34 FOREACH(TEST_NAME ${TESTS})
    35   ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
    36   TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
    37   ADD_TEST(${TEST_NAME} ${TEST_NAME})
    38 ENDFOREACH(TEST_NAME)