tests/CMakeLists.txt
changeset 9 7768d68909e8
child 10 d7ce0311ece2
equal deleted inserted replaced
-1:000000000000 0:699561b418e4
       
     1 INCLUDE_DIRECTORIES(
       
     2   ${CMAKE_SOURCE_DIR}/tests
       
     3   # ${CMAKE_BINARY_DIR}/src
       
     4 )
       
     5 
       
     6 LINK_DIRECTORIES(
       
     7   # ${CMAKE_BINARY_DIR}/lemon
       
     8 )
       
     9 
       
    10 ADD_EXECUTABLE(circulation
       
    11         circulation.cc
       
    12 )
       
    13 
       
    14 TARGET_LINK_LIBRARIES(circulation
       
    15   lemon
       
    16 )
       
    17 
       
    18 
       
    19 ## This tells cmake to install 'lemon-project' to $PREFIX/bin when
       
    20 ## 'make install' is executed. You can give more targets separated
       
    21 ## by whitespaces.
       
    22 
       
    23 INSTALL(
       
    24   TARGETS
       
    25   RUNTIME DESTINATION ${INSTALL_BIN_DIR}
       
    26   COMPONENT bin
       
    27 )
       
    28