]> granicus.if.org Git - graphviz/commit
Add 'uninstall' target to CMake build
authorErwin Janssen <erwinjanssen@outlook.com>
Sat, 31 Dec 2016 12:05:14 +0000 (13:05 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Thu, 19 Jan 2017 11:53:49 +0000 (12:53 +0100)
commitdb8ee253106d1b6e932d6a7410fa220c49e8b7e3
treef7a8049ac2684d5ac7e2aac556d22821ea8b4e88
parent74afcb5194e3e4d182f5564d40ea6abf8c3c00b8
Add 'uninstall' target to CMake build

When CMake performs the 'install' step, it keeps track of the installed
files by listing them in the `install_manifest.txt` file. The 'uninstall'
step reverses the installation by removing the files listed in the
manifest. This solution is taken directly from the CMake FAQ:
https://cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3://cmake.org/Wiki/CMake_FAQ#Can_I_do_.22make_uninstall.22_with_CMake.3F
CMakeLists.txt
cmake/cmake_uninstall.cmake.in [new file with mode: 0644]