INCLUDE_DIRECTORIES(
  ${CMAKE_SOURCE_DIR}/tests
  ${CMAKE_BINARY_DIR}/tests
)

LINK_DIRECTORIES(
  # ${CMAKE_BINARY_DIR}/lemon
)

SET(DATADIR_PATH ${CMAKE_BINARY_DIR}/data)
CONFIGURE_FILE(
  ${CMAKE_CURRENT_SOURCE_DIR}/paths.cc.cmake
  ${CMAKE_CURRENT_BINARY_DIR}/paths.cc
)

ADD_EXECUTABLE(circulation
        circulation.cc file_main.cc paths.cc
)

TARGET_LINK_LIBRARIES(circulation
  lemon
)


## This tells cmake to install 'lemon-project' to $PREFIX/bin when
## 'make install' is executed. You can give more targets separated
## by whitespaces.

INSTALL(
  TARGETS
  RUNTIME DESTINATION ${INSTALL_BIN_DIR}
  COMPONENT bin
)
 
