diff --git a/demo/CMakeLists.txt b/demo/CMakeLists.txt new file mode 100644 --- /dev/null +++ b/demo/CMakeLists.txt @@ -0,0 +1,13 @@ +include_directories (${LEMON_SOURCE_DIR}) + +link_directories (${LEMON_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)