From: Martin Quinson Date: Mon, 29 Feb 2016 09:42:16 +0000 (+0100) Subject: [cmake] remove a test binary after use X-Git-Tag: v3_13~633 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/908b9f3ec7a456cbe81371e494c857e8b6a6dc60 [cmake] remove a test binary after use --- diff --git a/CMakeLists.txt b/CMakeLists.txt index c2cd7594ff..fd5fe393de 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -740,6 +740,8 @@ else() message(FATAL_ERROR "Could not figure out the stack direction. Test prog returned: ${stack}; CMAKE_SYSTEM_PROCESSOR: ${CMAKE_SYSTEM_PROCESSOR}.") endif() endif() +# If the test ran well, remove the test binary +execute_process(COMMAND ${CMAKE_COMMAND} -E remove test_stackgrowth) ############### ## System checks