From 9b08491022d23eff26ce2fca8cb9285dae66e3e9 Mon Sep 17 00:00:00 2001 From: Pawday Date: Fri, 23 Jul 2021 16:23:31 +0300 Subject: [PATCH] Cmake is able delete all files by "clean" target --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 01d37f8..5940f61 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -435,11 +435,7 @@ include_directories(${PROJECT_BINARY_DIR}) add_subdirectory(doc) -# uninstall -add_custom_target(uninstall - COMMAND cat ${PROJECT_BINARY_DIR}/install_manifest.txt | xargs rm - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} -) + # XXX for a normal full distribution we'll need to figure out # XXX how to build both shared and static libraries.