https://github.com/Kitware/CMake
Revision 37fce84e5b849b2fb5f3231f536abec5b722e632 authored by Brad King on 09 September 2021, 17:19:38 UTC, committed by Kitware Robot on 09 September 2021, 17:19:53 UTC
5cb8516bec Merge branch 'backport-kwsys' into update-kwsys 8e16c9ed1c Merge branch 'upstream-KWSys' into update-kwsys 00ccc0f47c KWSys 2021-09-03 (0da908d4) 115152ce10 KWSys: SystemTools: Ensure Windows Vista APIs are available before using them Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6500
Tip revision: 37fce84e5b849b2fb5f3231f536abec5b722e632 authored by Brad King on 09 September 2021, 17:19:38 UTC
Merge topic 'update-kwsys'
Merge topic 'update-kwsys'
Tip revision: 37fce84
cmake_uninstall.cmake.in
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()
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REPLACE "\n" ";" files "${files}")
foreach(file ${files})
message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
if(EXISTS "$ENV{DESTDIR}${file}")
exec_program(
"@CMAKE_COMMAND@" ARGS "-E rm -f \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
if("${rm_retval}" STREQUAL 0)
else()
message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
endif()
else()
message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
endif()
endforeach()
Computing file changes ...