diff options
author | christian mueller <christian.ei.mueller@bmw.de> | 2012-01-12 17:26:10 +0100 |
---|---|---|
committer | christian mueller <christian.ei.mueller@bmw.de> | 2012-01-12 17:26:10 +0100 |
commit | a4a4c50ff375d94fa90c13d293b145176f214bf4 (patch) | |
tree | 26e5f80d2071f272a622085e13c46edbe84e9f4a /CMakeLists.txt | |
parent | 915ae08fa586cfa67559cc94a72ac5787df909ea (diff) | |
download | audiomanager-a4a4c50ff375d94fa90c13d293b145176f214bf4.tar.gz |
* added install and uninstall routines to make
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
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) + + |