alpar@7: INCLUDE_DIRECTORIES( alpar@7: ${CMAKE_SOURCE_DIR} alpar@7: ${CMAKE_SOURCE_DIR}/src alpar@7: ${CMAKE_BINARY_DIR}/src alpar@7: ) alpar@7: alpar@7: ## Here we define an executable target. Its name is 'lemon-project' and alpar@7: ## is compiled from 'main.cc'. You can add more source files separated alpar@7: ## with whitespaces (including newlines). If you want to build more alpar@7: ## executables, simple repeat (and edit) the following ADD_EXECUTABLE and alpar@7: ## TARGET_LINK_LIBRARIES statements. alpar@7: alpar@7: ADD_EXECUTABLE(lemon-project alpar@7: main.cc alpar@7: ) alpar@7: alpar@7: ## This tells cmake to install 'lemon-project' to $PREFIX/bin when alpar@7: ## 'make install' is executed. You can give more targets separated alpar@7: ## by whitespaces. alpar@7: alpar@7: TARGET_LINK_LIBRARIES(lemon-project alpar@7: ${LEMON_LIBRARIES} alpar@7: ) alpar@7: alpar@7: INSTALL( alpar@7: TARGETS lemon-project alpar@7: RUNTIME DESTINATION bin alpar@7: COMPONENT bin alpar@7: )