summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorchristian mueller <christian.ei.mueller@bmw.de>2012-01-12 17:26:10 +0100
committerchristian mueller <christian.ei.mueller@bmw.de>2012-01-12 17:26:10 +0100
commita4a4c50ff375d94fa90c13d293b145176f214bf4 (patch)
tree26e5f80d2071f272a622085e13c46edbe84e9f4a /CMakeLists.txt
parent915ae08fa586cfa67559cc94a72ac5787df909ea (diff)
downloadaudiomanager-a4a4c50ff375d94fa90c13d293b145176f214bf4.tar.gz
* added install and uninstall routines to make
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8c0fcf4..084d83f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -125,6 +125,16 @@ if(WITH_MAIN)
add_subdirectory (AudioManagerDaemon)
endif(WITH_MAIN)
+# uninstall target
+configure_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ IMMEDIATE @ONLY)
+
+add_custom_target(uninstall
+ COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
+
+