test/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Sun, 23 Oct 2011 22:49:04 +0200
changeset 954 b96574ff36ec
parent 510 d8ca76573eb3
child 950 2d583da4ba40
child 959 17e36e175725
permissions -rw-r--r--
Fix VS warnings (#429)
     1 INCLUDE_DIRECTORIES(
     2   ${CMAKE_SOURCE_DIR}
     3   ${PROJECT_BINARY_DIR}
     4 )
     5 
     6 LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
     7 
     8 SET(TESTS
     9   bfs_test
    10   counter_test
    11   dfs_test
    12   digraph_test
    13   dijkstra_test
    14   dim_test
    15   error_test
    16   graph_copy_test
    17   graph_test
    18   graph_utils_test
    19   heap_test
    20   kruskal_test
    21   lgf_test
    22   maps_test
    23   random_test
    24   path_test
    25   time_measure_test
    26   unionfind_test)
    27 
    28 FOREACH(TEST_NAME ${TESTS})
    29   ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)
    30   TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)
    31   ADD_TEST(${TEST_NAME} ${TEST_NAME})
    32 ENDFOREACH(TEST_NAME)