The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15474 ====================================================================== Reported By: Andrey Vihrov Assigned To: ====================================================================== Project: CMake Issue ID: 15474 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-03-25 13:18 EDT Last Modified: 2015-03-25 13:18 EDT ====================================================================== Summary: The "Unix Makefiles" generator should use .DELETE_ON_ERROR Description: The .DELETE_ON_ERROR special target in GNU Make ensures that if a command fails, then its corresponding target will be deleted. For example, if a linker OOMs halfway writing the final executable, then without .DELETE_ON_ERROR Make will consider that the (corrupted) executable has been built and refuse to rebuild it.
See also https://www.gnu.org/software/make/manual/html_node/Special-Targets.html#index-_002eDELETE_005fON_005fERROR and https://www.gnu.org/software/make/manual/html_node/Errors.html#index-deletion-of-target-files (last paragraph). Steps to Reproduce: * Use the "Unix Makefiles" generator with a sample CMake project * Verify that the generated Makefiles do not contain .DELETE_ON_ERROR ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-03-25 13:18 Andrey Vihrov New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
