summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-02-17 02:12:12 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-02-17 02:12:12 +0100
commit7cfc79179c8dda5c4f8dbde467fe8c8a30010f5f (patch)
tree55b08773824336f05613be5716378f00e1a9274c
parent6700d5daf29bf4117ea964f2863652be104e7405 (diff)
downloadbiboumi-7cfc79179c8dda5c4f8dbde467fe8c8a30010f5f.tar.gz
biboumi-7cfc79179c8dda5c4f8dbde467fe8c8a30010f5f.tar.bz2
biboumi-7cfc79179c8dda5c4f8dbde467fe8c8a30010f5f.tar.xz
biboumi-7cfc79179c8dda5c4f8dbde467fe8c8a30010f5f.zip
Make install rule
-rw-r--r--CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 222c609..660f238 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -125,4 +125,11 @@ target_link_libraries(test
config
logger)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h) \ No newline at end of file
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
+
+#
+## Install target
+#
+install(TARGETS ${PROJECT_NAME}
+ RUNTIME DESTINATION bin)
+install(FILES doc/${PROJECT_NAME}.1 DESTINATION man/man1)