Browse Source

Cmake is able delete all files by "clean" target

pull/717/head
Pawday 4 years ago
parent
commit
9b08491022
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      CMakeLists.txt

+ 1
- 5
CMakeLists.txt View File

@@ -435,11 +435,7 @@ include_directories(${PROJECT_BINARY_DIR})


add_subdirectory(doc) 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 for a normal full distribution we'll need to figure out
# XXX how to build both shared and static libraries. # XXX how to build both shared and static libraries.


Loading…
Cancel
Save