Changeset 528:88bd39ef7d98 in lemon-main
- Timestamp:
- 02/23/09 13:26:21 (16 years ago)
- Branch:
- default
- Parents:
- 527:c458e02723b1 (diff), 501:7f8560cb9d65 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Phase:
- public
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/Makefile.am
r501 r528 8 8 9 9 lemon_libemon_la_SOURCES = \ 10 lemon/arg_parser.cc \ 11 lemon/base.cc \ 12 lemon/color.cc \ 13 lemon/random.cc 10 lemon/arg_parser.cc \ 11 lemon/base.cc \ 12 lemon/color.cc \ 13 lemon/lp_base.cc \ 14 lemon/lp_skeleton.cc \ 15 lemon/random.cc \ 16 lemon/bits/windows.cc 14 17 15 #lemon_libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) $(SOPLEX_CXXFLAGS) $(AM_CXXFLAGS) 16 #lemon_libemon_la_LDFLAGS = $(GLPK_LIBS) $(CPLEX_LIBS) $(SOPLEX_LIBS) 18 19 lemon_libemon_la_CXXFLAGS = \ 20 $(GLPK_CFLAGS) \ 21 $(CPLEX_CFLAGS) \ 22 $(SOPLEX_CXXFLAGS) \ 23 $(CLP_CXXFLAGS) 24 25 lemon_libemon_la_LDFLAGS = \ 26 $(GLPK_LIBS) \ 27 $(CPLEX_LIBS) \ 28 $(SOPLEX_LIBS) \ 29 $(CLP_LIBS) 30 31 if HAVE_GLPK 32 lemon_libemon_la_SOURCES += lemon/glpk.cc 33 endif 34 35 if HAVE_CPLEX 36 lemon_libemon_la_SOURCES += lemon/cplex.cc 37 endif 38 39 if HAVE_SOPLEX 40 lemon_libemon_la_SOURCES += lemon/soplex.cc 41 endif 42 43 if HAVE_CLP 44 lemon_libemon_la_SOURCES += lemon/clp.cc 45 endif 17 46 18 47 lemon_HEADERS += \ 19 48 lemon/adaptors.h \ 20 49 lemon/arg_parser.h \ 21 50 lemon/assert.h \ 22 lemon/bfs.h \ 23 lemon/bin_heap.h \ 24 lemon/circulation.h \ 25 lemon/color.h \ 51 lemon/bfs.h \ 52 lemon/bin_heap.h \ 53 lemon/circulation.h \ 54 lemon/clp.h \ 55 lemon/color.h \ 26 56 lemon/concept_check.h \ 27 lemon/counter.h \ 57 lemon/connectivity.h \ 58 lemon/counter.h \ 28 59 lemon/core.h \ 29 lemon/dfs.h \ 30 lemon/dijkstra.h \ 31 lemon/dim2.h \ 32 lemon/dimacs.h \ 60 lemon/cplex.h \ 61 lemon/dfs.h \ 62 lemon/dijkstra.h \ 63 lemon/dim2.h \ 64 lemon/dimacs.h \ 65 lemon/edge_set.h \ 33 66 lemon/elevator.h \ 34 67 lemon/error.h \ 68 lemon/euler.h \ 35 69 lemon/full_graph.h \ 36 lemon/graph_to_eps.h \ 37 lemon/grid_graph.h \ 70 lemon/glpk.h \ 71 lemon/graph_to_eps.h \ 72 lemon/grid_graph.h \ 38 73 lemon/hypercube_graph.h \ 39 74 lemon/kruskal.h \ … … 41 76 lemon/lgf_reader.h \ 42 77 lemon/lgf_writer.h \ 78 lemon/list_graph.h \ 79 lemon/lp.h \ 80 lemon/lp_base.h \ 81 lemon/lp_skeleton.h \ 43 82 lemon/list_graph.h \ 44 83 lemon/maps.h \ … … 49 88 lemon/path.h \ 50 89 lemon/preflow.h \ 51 lemon/random.h \ 90 lemon/radix_sort.h \ 91 lemon/random.h \ 52 92 lemon/smart_graph.h \ 93 lemon/soplex.h \ 53 94 lemon/suurballe.h \ 54 lemon/time_measure.h \ 55 lemon/tolerance.h \ 56 lemon/unionfind.h 95 lemon/time_measure.h \ 96 lemon/tolerance.h \ 97 lemon/unionfind.h \ 98 lemon/bits/windows.h 57 99 58 100 bits_HEADERS += \ … … 60 102 lemon/bits/array_map.h \ 61 103 lemon/bits/base_extender.h \ 62 104 lemon/bits/bezier.h \ 63 105 lemon/bits/default_map.h \ 64 lemon/bits/enable_if.h \ 106 lemon/bits/edge_set_extender.h \ 107 lemon/bits/enable_if.h \ 65 108 lemon/bits/graph_adaptor_extender.h \ 66 109 lemon/bits/graph_extender.h \ 67 110 lemon/bits/map_extender.h \ 68 111 lemon/bits/path_dump.h \ 112 lemon/bits/solver_bits.h \ 69 113 lemon/bits/traits.h \ 70 114 lemon/bits/variant.h \ -
lemon/Makefile.am
r522 r528 84 84 lemon/math.h \ 85 85 lemon/max_matching.h \ 86 lemon/min_cost_arborescence.h \ 86 87 lemon/nauty_reader.h \ 87 88 lemon/path.h \ -
test/CMakeLists.txt
r501 r528 1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}) 1 INCLUDE_DIRECTORIES( 2 ${CMAKE_SOURCE_DIR} 3 ${CMAKE_BINARY_DIR} 4 ) 5 6 IF(HAVE_GLPK) 7 INCLUDE_DIRECTORIES(${GLPK_INCLUDE_DIR}) 8 ENDIF(HAVE_GLPK) 2 9 3 10 LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon) 4 11 5 12 SET(TESTS 13 adaptors_test 6 14 bfs_test 15 circulation_test 7 16 counter_test 8 17 dfs_test … … 10 19 dijkstra_test 11 20 dim_test 21 edge_set_test 12 22 error_test 23 euler_test 13 24 graph_copy_test 14 25 graph_test … … 20 31 max_matching_test 21 32 min_cost_arborescence_test 33 path_test 34 preflow_test 35 radix_sort_test 22 36 random_test 23 path_test37 suurballe_test 24 38 time_measure_test 25 39 unionfind_test) 40 41 IF(HAVE_LP) 42 ADD_EXECUTABLE(lp_test lp_test.cc) 43 IF(HAVE_GLPK) 44 TARGET_LINK_LIBRARIES(lp_test lemon ${GLPK_LIBRARIES}) 45 ENDIF(HAVE_GLPK) 46 ADD_TEST(lp_test lp_test) 47 48 IF(WIN32 AND HAVE_GLPK) 49 GET_TARGET_PROPERTY(TARGET_LOC lp_test LOCATION) 50 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) 51 ADD_CUSTOM_COMMAND(TARGET lp_test POST_BUILD 52 COMMAND cmake -E copy ${GLPK_BIN_DIR}/glpk.dll ${TARGET_PATH} 53 COMMAND cmake -E copy ${GLPK_BIN_DIR}/libltdl3.dll ${TARGET_PATH} 54 COMMAND cmake -E copy ${GLPK_BIN_DIR}/zlib1.dll ${TARGET_PATH} 55 ) 56 ENDIF(WIN32 AND HAVE_GLPK) 57 ENDIF(HAVE_LP) 58 59 IF(HAVE_MIP) 60 ADD_EXECUTABLE(mip_test mip_test.cc) 61 IF(HAVE_GLPK) 62 TARGET_LINK_LIBRARIES(mip_test lemon ${GLPK_LIBRARIES}) 63 ENDIF(HAVE_GLPK) 64 ADD_TEST(mip_test mip_test) 65 66 IF(WIN32 AND HAVE_GLPK) 67 GET_TARGET_PROPERTY(TARGET_LOC mip_test LOCATION) 68 GET_FILENAME_COMPONENT(TARGET_PATH ${TARGET_LOC} PATH) 69 ADD_CUSTOM_COMMAND(TARGET mip_test POST_BUILD 70 COMMAND cmake -E copy ${GLPK_BIN_DIR}/glpk.dll ${TARGET_PATH} 71 COMMAND cmake -E copy ${GLPK_BIN_DIR}/libltdl3.dll ${TARGET_PATH} 72 COMMAND cmake -E copy ${GLPK_BIN_DIR}/zlib1.dll ${TARGET_PATH} 73 ) 74 ENDIF(WIN32 AND HAVE_GLPK) 75 ENDIF(HAVE_MIP) 26 76 27 77 FOREACH(TEST_NAME ${TESTS}) -
test/CMakeLists.txt
r522 r528 30 30 maps_test 31 31 max_matching_test 32 min_cost_arborescence_test 32 33 path_test 33 34 preflow_test -
test/Makefile.am
r501 r528 1 1 EXTRA_DIST += \ 2 test/CMakeLists.txt \ 3 test/min_cost_flow_test.lgf \ 4 test/preflow_graph.lgf 2 test/CMakeLists.txt 5 3 6 4 noinst_HEADERS += \ 7 5 test/graph_test.h \ 8 6 test/test_tools.h 9 7 10 8 check_PROGRAMS += \ 9 test/adaptors_test \ 11 10 test/bfs_test \ 12 13 11 test/circulation_test \ 12 test/counter_test \ 14 13 test/dfs_test \ 15 14 test/digraph_test \ 16 15 test/dijkstra_test \ 17 test/dim_test \ 16 test/dim_test \ 17 test/edge_set_test \ 18 18 test/error_test \ 19 test/ graph_adaptor_test \19 test/euler_test \ 20 20 test/graph_copy_test \ 21 21 test/graph_test \ 22 22 test/graph_utils_test \ 23 test/hao_orlin_test \ 23 24 test/heap_test \ 24 25 test/kruskal_test \ 25 test/hao_orlin_test \ 26 test/maps_test \ 26 test/maps_test \ 27 27 test/max_matching_test \ 28 28 test/min_cost_arborescence_test \ 29 test/random_test \ 30 test/path_test \ 31 test/preflow_test \ 32 test/suurballe_test \ 33 test/test_tools_fail \ 34 test/test_tools_pass \ 35 test/time_measure_test \ 29 test/path_test \ 30 test/preflow_test \ 31 test/radix_sort_test \ 32 test/random_test \ 33 test/suurballe_test \ 34 test/test_tools_fail \ 35 test/test_tools_pass \ 36 test/time_measure_test \ 36 37 test/unionfind_test 38 39 if HAVE_LP 40 check_PROGRAMS += test/lp_test 41 endif HAVE_LP 42 if HAVE_MIP 43 check_PROGRAMS += test/mip_test 44 endif HAVE_MIP 37 45 38 46 TESTS += $(check_PROGRAMS) 39 47 XFAIL_TESTS += test/test_tools_fail$(EXEEXT) 40 48 49 test_adaptors_test_SOURCES = test/adaptors_test.cc 41 50 test_bfs_test_SOURCES = test/bfs_test.cc 42 51 test_circulation_test_SOURCES = test/circulation_test.cc … … 46 55 test_dijkstra_test_SOURCES = test/dijkstra_test.cc 47 56 test_dim_test_SOURCES = test/dim_test.cc 57 test_edge_set_test_SOURCES = test/edge_set_test.cc 48 58 test_error_test_SOURCES = test/error_test.cc 49 test_ graph_adaptor_test_SOURCES = test/graph_adaptor_test.cc59 test_euler_test_SOURCES = test/euler_test.cc 50 60 test_graph_copy_test_SOURCES = test/graph_copy_test.cc 51 61 test_graph_test_SOURCES = test/graph_test.cc … … 54 64 test_kruskal_test_SOURCES = test/kruskal_test.cc 55 65 test_hao_orlin_test_SOURCES = test/hao_orlin_test.cc 66 test_lp_test_SOURCES = test/lp_test.cc 56 67 test_maps_test_SOURCES = test/maps_test.cc 68 test_mip_test_SOURCES = test/mip_test.cc 57 69 test_max_matching_test_SOURCES = test/max_matching_test.cc 58 70 test_min_cost_arborescence_test_SOURCES = test/min_cost_arborescence_test.cc 59 71 test_path_test_SOURCES = test/path_test.cc 60 72 test_preflow_test_SOURCES = test/preflow_test.cc 73 test_radix_sort_test_SOURCES = test/radix_sort_test.cc 61 74 test_suurballe_test_SOURCES = test/suurballe_test.cc 62 75 test_random_test_SOURCES = test/random_test.cc -
test/Makefile.am
r522 r528 26 26 test/maps_test \ 27 27 test/max_matching_test \ 28 test/min_cost_arborescence_test \ 28 29 test/path_test \ 29 30 test/preflow_test \ … … 67 68 test_mip_test_SOURCES = test/mip_test.cc 68 69 test_max_matching_test_SOURCES = test/max_matching_test.cc 70 test_min_cost_arborescence_test_SOURCES = test/min_cost_arborescence_test.cc 69 71 test_path_test_SOURCES = test/path_test.cc 70 72 test_preflow_test_SOURCES = test/preflow_test.cc
Note: See TracChangeset
for help on using the changeset viewer.