diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e5d4aa1..1d00d7f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -814,3 +814,19 @@ endif() # Miscellaneous install ################################################################################ install(FILES include/klee/klee.h DESTINATION include/klee) + +################################################################################ +# Uninstall rule +################################################################################ +configure_file( + "${PROJECT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" + "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake" + @ONLY +) + +add_custom_target(uninstall + COMMAND + "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uninstall.cmake" + COMMENT "Uninstalling..." + VERBATIM +) |