demo/CMakeLists.txt
changeset 815 aef153f430e1
parent 627 20dac2104519
equal deleted inserted replaced
6:08790fbcbf2b 7:5e668cb3350a
     1 INCLUDE_DIRECTORIES(
     1 INCLUDE_DIRECTORIES(
     2   ${PROJECT_SOURCE_DIR}
     2   ${PROJECT_SOURCE_DIR}
     3   ${PROJECT_BINARY_DIR}
     3   ${PROJECT_BINARY_DIR}
     4 )
     4 )
     5 
     5 
     6 LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/lemon)
     6 LINK_DIRECTORIES(
       
     7   ${PROJECT_BINARY_DIR}/lemon
       
     8 )
     7 
     9 
     8 SET(DEMOS
    10 SET(DEMOS
     9   arg_parser_demo
    11   arg_parser_demo
    10   graph_to_eps_demo
    12   graph_to_eps_demo
    11   lgf_demo)
    13   lgf_demo
       
    14 )
    12 
    15 
    13 FOREACH(DEMO_NAME ${DEMOS})
    16 FOREACH(DEMO_NAME ${DEMOS})
    14   ADD_EXECUTABLE(${DEMO_NAME} ${DEMO_NAME}.cc)
    17   ADD_EXECUTABLE(${DEMO_NAME} ${DEMO_NAME}.cc)
    15   TARGET_LINK_LIBRARIES(${DEMO_NAME} lemon)
    18   TARGET_LINK_LIBRARIES(${DEMO_NAME} lemon)
    16 ENDFOREACH(DEMO_NAME)
    19 ENDFOREACH()