Commit 3d8c0a66 authored by berenger-bramas's avatar berenger-bramas

Type make reset to remove the cmake cache and do cmake .. in the same time.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@456 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 2b687f9b
......@@ -93,7 +93,7 @@ add_subdirectory(Doc)
# Add custom clean command
if("${CMAKE_GENERATOR}" MATCHES "Make")
ADD_CUSTOM_TARGET(reset
COMMAND ${CMAKE_MAKE_PROGRAM} clean && rm -r !(.gitignore) && cmake ..
COMMAND ${CMAKE_MAKE_PROGRAM} clean && rm -r ./CMake* && cmake ..
WORKING_DIRECTORY ${CMAKE_CURRENT_DIR}
COMMENT "Cleaning Build dir and CMake cache, then do cmake.."
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment