tests/CMakeLists.txt
changeset 11 cf6519daa7fa
parent 10 d7ce0311ece2
     1.1 --- a/tests/CMakeLists.txt	Sun Dec 11 07:33:29 2011 +0100
     1.2 +++ b/tests/CMakeLists.txt	Sun Dec 11 11:19:39 2011 +0100
     1.3 @@ -1,14 +1,20 @@
     1.4  INCLUDE_DIRECTORIES(
     1.5    ${CMAKE_SOURCE_DIR}/tests
     1.6 -  # ${CMAKE_BINARY_DIR}/src
     1.7 +  ${CMAKE_BINARY_DIR}/tests
     1.8  )
     1.9  
    1.10  LINK_DIRECTORIES(
    1.11    # ${CMAKE_BINARY_DIR}/lemon
    1.12  )
    1.13  
    1.14 +SET(DATADIR_PATH ${CMAKE_BINARY_DIR}/data)
    1.15 +CONFIGURE_FILE(
    1.16 +  ${CMAKE_CURRENT_SOURCE_DIR}/paths.cc.cmake
    1.17 +  ${CMAKE_CURRENT_BINARY_DIR}/paths.cc
    1.18 +)
    1.19 +
    1.20  ADD_EXECUTABLE(circulation
    1.21 -        circulation.cc main.cc
    1.22 +        circulation.cc file_main.cc paths.cc
    1.23  )
    1.24  
    1.25  TARGET_LINK_LIBRARIES(circulation