Anonymous | Login | Signup for a new account | 2024-04-18 10:37 UTC |
My View | View Issues | Change Log | Roadmap | Doomseeker Issue Support Ranking | Rules | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0003933 | Doomseeker | [All Projects] Cleanup | public | 2021-12-09 01:58 | 2022-03-22 11:11 | ||||
Reporter | WubTheCaptain | ||||||||
Assigned To | Zalewa | ||||||||
Priority | normal | Severity | minor | Reproducibility | sometimes | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 1.3.2 | ||||||||
Target Version | 1.3.3 | Fixed in Version | 1.3.3 | ||||||
Summary | 0003933: CMakeLists.txt legacy "else(expression)" is confusing and unnecessary | ||||||||
Description | Background: 0003280:0020368 and 0003931. I'm aggravated to confuse myself with the same insanity 2½ years later: "elseif(expression)" being written as "else(expression)". Please don't hurt me anymore. It's either "elseif(expression2)" or just "else()". | ||||||||
Additional Information | 'https://cmake.org/cmake/help/v3.13/command/if.html [^]' 'https://cmake.org/cmake/help/v3.14/command/if.html [^]' | ||||||||
Attached Files | 0001-CMakeLists-Replace-confusing-else-expression.patch [^] (4,190 bytes) 2021-12-09 02:26 [Show Content] | ||||||||
Notes | |
(0021863) WubTheCaptain (reporter) 2021-12-09 02:26 |
Is the patch good? |
(0021864) WubTheCaptain (reporter) 2021-12-09 02:37 edited on: 2021-12-09 02:40 |
According to old documentation, I can interpret this drops support for CMake 2.6. But we declared in CMakeLists CMake 3.5 as the minimum supported version a long ago for some files, and have already used else() a lot. CMake 2.8 has also documented expression in else() being optional, so it seems to retain theoretical support. |
(0021898) Zalewa (developer) 2021-12-15 19:01 |
Merged it. Thanks. |
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
Supporters: | No one explicitly supports this issue yet. |
Opponents: | No one explicitly opposes this issue yet. |
Issue History | |||
Date Modified | Username | Field | Change |
2021-12-09 01:58 | WubTheCaptain | New Issue | |
2021-12-09 01:58 | WubTheCaptain | Status | new => assigned |
2021-12-09 01:58 | WubTheCaptain | Assigned To | => WubTheCaptain |
2021-12-09 02:26 | WubTheCaptain | File Added: 0001-CMakeLists-Replace-confusing-else-expression.patch | |
2021-12-09 02:26 | WubTheCaptain | Note Added: 0021863 | |
2021-12-09 02:26 | WubTheCaptain | Assigned To | WubTheCaptain => |
2021-12-09 02:26 | WubTheCaptain | Status | assigned => needs review |
2021-12-09 02:30 | WubTheCaptain | Description Updated | View Revisions |
2021-12-09 02:37 | WubTheCaptain | Note Added: 0021864 | |
2021-12-09 02:38 | WubTheCaptain | Note Edited: 0021864 | View Revisions |
2021-12-09 02:39 | WubTheCaptain | Note Edited: 0021864 | View Revisions |
2021-12-09 02:39 | WubTheCaptain | Note Edited: 0021864 | View Revisions |
2021-12-09 02:39 | WubTheCaptain | Note Edited: 0021864 | View Revisions |
2021-12-09 02:40 | WubTheCaptain | Note Edited: 0021864 | View Revisions |
2021-12-09 02:44 | WubTheCaptain | Description Updated | View Revisions |
2021-12-15 19:01 | Zalewa | Note Added: 0021898 | |
2021-12-15 19:01 | Zalewa | Status | needs review => resolved |
2021-12-15 19:01 | Zalewa | Fixed in Version | => 1.3.3 |
2021-12-15 19:01 | Zalewa | Resolution | open => fixed |
2021-12-15 19:01 | Zalewa | Assigned To | => Zalewa |
2022-03-22 11:11 | WubTheCaptain | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |