diff options
author | Christian Muck <christian.muck@bmw.de> | 2012-02-13 21:27:25 +0100 |
---|---|---|
committer | Christian Muck <christian.muck@bmw.de> | 2012-02-13 21:27:25 +0100 |
commit | 77c849c2bd9acd95033a7243ed630234a584fc3a (patch) | |
tree | 249d595ee307e6731157a933ba03f53970d72b46 /cmake_uninstall.cmake.in | |
parent | 214aebd2a8f5310c91fb580f93200a0fee364cbd (diff) | |
download | DLT-daemon-77c849c2bd9acd95033a7243ed630234a584fc3a.tar.gz |
Update project structure
Diffstat (limited to 'cmake_uninstall.cmake.in')
-rwxr-xr-x | cmake_uninstall.cmake.in | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/cmake_uninstall.cmake.in b/cmake_uninstall.cmake.in deleted file mode 100755 index 17376d2..0000000 --- a/cmake_uninstall.cmake.in +++ /dev/null @@ -1,22 +0,0 @@ -IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") - MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"") -ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt") - -FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files) -STRING(REGEX REPLACE "\n" ";" files "${files}") -FOREACH(file ${files}) - MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"") - IF(EXISTS "$ENV{DESTDIR}${file}") - EXEC_PROGRAM( - "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\"" - OUTPUT_VARIABLE rm_out - RETURN_VALUE rm_retval - ) - IF(NOT "${rm_retval}" STREQUAL 0) - MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"") - ENDIF(NOT "${rm_retval}" STREQUAL 0) - ELSE(EXISTS "$ENV{DESTDIR}${file}") - MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.") - ENDIF(EXISTS "$ENV{DESTDIR}${file}") -ENDFOREACH(file) - |