From a4a4c50ff375d94fa90c13d293b145176f214bf4 Mon Sep 17 00:00:00 2001 From: christian mueller Date: Thu, 12 Jan 2012 17:26:10 +0100 Subject: * added install and uninstall routines to make --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'CMakeLists.txt') 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) + + -- cgit v1.2.1