r473:17d918051964
337 B
text/plain
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${GLPK_INCLUDE_DIR} ) LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon) SET(DEMOS arg_parser_demo graph_to_eps_demo lgf_demo) FOREACH(DEMO_NAME ${DEMOS}) ADD_EXECUTABLE(${DEMO_NAME} ${DEMO_NAME}.cc) TARGET_LINK_LIBRARIES(${DEMO_NAME} lemon) ENDFOREACH(DEMO_NAME)