Changes in test/CMakeLists.txt [225:c5a40fc54f1a:203:215bfc30b14f] in lemon-main
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/CMakeLists.txt
r225 r203 1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})1 include_directories (${LEMON_SOURCE_DIR}) 2 2 3 LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)3 link_directories (${LEMON_BINARY_DIR}/lemon) 4 4 5 SET(TESTS5 set (TESTS 6 6 bfs_test 7 7 counter_test … … 17 17 kruskal_test 18 18 maps_test 19 path_test 19 20 random_test 20 path_test21 21 time_measure_test 22 22 unionfind_test) 23 23 24 FOREACH(TEST_NAME ${TESTS})25 ADD_EXECUTABLE(${TEST_NAME} ${TEST_NAME}.cc)26 TARGET_LINK_LIBRARIES(${TEST_NAME} lemon)27 ADD_TEST(${TEST_NAME} ${TEST_NAME})28 ENDFOREACH(TEST_NAME)24 foreach (TEST_NAME ${TESTS}) 25 add_executable (${TEST_NAME} ${TEST_NAME}.cc) 26 target_link_libraries (${TEST_NAME} lemon) 27 add_test(${TEST_NAME} ${TEST_NAME}) 28 endforeach (TEST_NAME)
Note: See TracChangeset
for help on using the changeset viewer.