[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [digikam-software-compilation/frameworks] cmake/templates: ECM provide this template now
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2015-02-23 9:04:28
Message-ID: E1YPowG-0003lZ-RC () scm ! kde ! org
[Download RAW message or body]

Git commit 304510db8de8daa4be11ac4e08db502dc4c36bb4 by Gilles Caulier.
Committed on 23/02/2015 at 08:59.
Pushed by cgilles into branch 'frameworks'.

ECM provide this template now

D  +0    -32   cmake/templates/cmake_uninstall.cmake.in

http://commits.kde.org/scratch/mwiesweg/digikam-sc/304510db8de8daa4be11ac4e=
08db502dc4c36bb4

diff --git a/cmake/templates/cmake_uninstall.cmake.in b/cmake/templates/cma=
ke_uninstall.cmake.in
deleted file mode 100644
index d40bc0e..0000000
--- a/cmake/templates/cmake_uninstall.cmake.in
+++ /dev/null
@@ -1,32 +0,0 @@
-
-if(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt")
-    message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_BINARY_DIR=
@/install_manifest.txt\"")
-endif()
-
-file(READ "@CMAKE_BINARY_DIR@/install_manifest.txt" files)
-string(REGEX REPLACE "\n" ";" files "${files}")
-
-foreach(file ${files})
-
-    message(STATUS "Uninstalling \"${file}\"")
-
-    if(EXISTS "${file}")
-
-        exec_program("@CMAKE_COMMAND@"
-                     ARGS "-E remove \"${file}\""
-                     OUTPUT_VARIABLE rm_out
-                     RETURN_VALUE rm_retval
-        )
-
-        if("${rm_retval}" STREQUAL 0)
-        ELSE("${rm_retval}" STREQUAL 0)
-            message(FATAL_ERROR "Problem when removing \"${file}\"")
-        endif()
-
-    else()
-
-        message(STATUS "File \"${file}\" does not exist.")
-
-    endif()
-
-endforeach()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic