feat(build): add 'clean-olean' custom-target

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-07-30 15:12:37 -07:00
parent 1d62a614e7
commit 8834563a7f

View file

@ -324,3 +324,8 @@ if((${CYGWIN} EQUAL "1") OR (NOT (${CMAKE_SYSTEM_NAME} MATCHES "Windows")))
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library/hott
)
endif()
add_custom_target(clean-olean
WORKING_DIRECTORY ${LEAN_SOURCE_DIR}/../library
COMMAND find . -name '*.olean' -exec rm -f '{}' '\;'
)