MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015474 | CMake | CMake | public | 2015-03-25 13:18 | 2015-11-02 09:13 |
|
Reporter | Andrey Vihrov | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Linux | OS | | OS Version | |
Product Version | CMake 3.2.1 | |
Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | |
|
Summary | 0015474: 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 |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-03-25 13:18 | Andrey Vihrov | New Issue | |
2015-03-31 11:30 | Brad King | Assigned To | => Brad King |
2015-03-31 11:30 | Brad King | Status | new => assigned |
2015-03-31 11:30 | Brad King | Target Version | => CMake 3.3 |
2015-04-01 13:18 | Brad King | Note Added: 0038383 | |
2015-04-01 13:18 | Brad King | Status | assigned => resolved |
2015-04-01 13:18 | Brad King | Resolution | open => fixed |
2015-04-01 13:18 | Brad King | Fixed in Version | => CMake 3.3 |
2015-11-02 09:13 | Robert Maynard | Note Added: 0039761 | |
2015-11-02 09:13 | Robert Maynard | Status | resolved => closed |