diff -r b995b17cd52b -r c941f748eaa8 src/CMakeLists.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/CMakeLists.txt Tue Mar 22 20:09:43 2011 +0100 @@ -0,0 +1,29 @@ +INCLUDE_DIRECTORIES( + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/src + ${CMAKE_BINARY_DIR}/src +) + +## Here we define an executable target. Its name is 'lemon-project' and +## is compiled from 'main.cc'. You can add more source files separated +## with whitespaces (including newlines). If you want to build more +## executables, simple repeat (and edit) the following ADD_EXECUTABLE and +## TARGET_LINK_LIBRARIES statements. + +ADD_EXECUTABLE(lemon-project + main.cc +) + +## This tells cmake to install 'lemon-project' to $PREFIX/bin when +## 'make install' is executed. You can give more targets separated +## by whitespaces. + +TARGET_LINK_LIBRARIES(lemon-project + ${LEMON_LIBRARIES} +) + +INSTALL( + TARGETS lemon-project + RUNTIME DESTINATION bin + COMPONENT bin +)