test/CMakeLists.txt
author Alpar Juttner <alpar@cs.elte.hu>
Mon, 12 Jan 2009 12:25:55 +0000
changeset 483 76ec7bd57026
parent 468 75a5df083951
child 490 a1155a9e8e09
permissions -rw-r--r--
Bypass warnings with gcc 4.3
     1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
     2 
     3 LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
     4 
     5 SET(TESTS
     6   bfs_test
     7   circulation_test
     8   counter_test
     9   dfs_test
    10   digraph_test
    11   dijkstra_test
    12   dim_test
    13   error_test
    14   graph_adaptor_test
    15   graph_copy_test
    16   graph_test
    17   graph_utils_test
    18   hao_orlin_test
    19   heap_test
    20   kruskal_test
    21   lp_test
    22   mip_test
    23   maps_test
    24   max_matching_test
    25   radix_sort_test
    26   path_test
    27   preflow_test
    28   random_test
    29   suurballe_test
    30   time_measure_test
    31   unionfind_test)
    32 
    33 FOREACH(TEST_NAME ${TESTS})
    34   ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
    35   TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
    36   ADD_TEST(${TEST_NAME} ${TEST_NAME})
    37 ENDFOREACH(TEST_NAME)