Warning, /frameworks/extra-cmake-modules/modules/ecm_uninstall.cmake.in is written in an unsupported language. File is not indexed.
0001 if(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") 0002 message(FATAL_ERROR "Cannot find install manifest: @CMAKE_BINARY_DIR@/install_manifest.txt") 0003 endif() 0004 0005 file(READ "@CMAKE_BINARY_DIR@/install_manifest.txt" files) 0006 string(REGEX REPLACE "\n" ";" files "${files}") 0007 foreach(file ${files}) 0008 message(STATUS "Uninstalling $ENV{DESTDIR}${file}") 0009 if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}") 0010 execute_process( 0011 COMMAND "@CMAKE_COMMAND@" -E remove "$ENV{DESTDIR}${file}" 0012 RESULT_VARIABLE rm_retval 0013 ) 0014 if(NOT "${rm_retval}" STREQUAL 0) 0015 message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}") 0016 endif() 0017 else() 0018 message(STATUS "File $ENV{DESTDIR}${file} does not exist.") 0019 endif() 0020 endforeach()