tests/CMakeLists.txt
changeset 9 7768d68909e8
child 10 d7ce0311ece2
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tests/CMakeLists.txt	Sun Dec 11 06:55:47 2011 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +INCLUDE_DIRECTORIES(
     1.5 +  ${CMAKE_SOURCE_DIR}/tests
     1.6 +  # ${CMAKE_BINARY_DIR}/src
     1.7 +)
     1.8 +
     1.9 +LINK_DIRECTORIES(
    1.10 +  # ${CMAKE_BINARY_DIR}/lemon
    1.11 +)
    1.12 +
    1.13 +ADD_EXECUTABLE(circulation
    1.14 +        circulation.cc
    1.15 +)
    1.16 +
    1.17 +TARGET_LINK_LIBRARIES(circulation
    1.18 +  lemon
    1.19 +)
    1.20 +
    1.21 +
    1.22 +## This tells cmake to install 'lemon-project' to $PREFIX/bin when
    1.23 +## 'make install' is executed. You can give more targets separated
    1.24 +## by whitespaces.
    1.25 +
    1.26 +INSTALL(
    1.27 +  TARGETS
    1.28 +  RUNTIME DESTINATION ${INSTALL_BIN_DIR}
    1.29 +  COMPONENT bin
    1.30 +)
    1.31 +