Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003933Doomseeker[All Projects] Cleanuppublic2021-12-09 01:582022-03-22 11:11
ReporterWubTheCaptain 
Assigned ToZalewa 
PrioritynormalSeverityminorReproducibilitysometimes
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.3.2 
Target Version1.3.3Fixed in Version1.3.3 
Summary0003933: CMakeLists.txt legacy "else(expression)" is confusing and unnecessary
DescriptionBackground: 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 Filespatch file icon 0001-CMakeLists-Replace-confusing-else-expression.patch [^] (4,190 bytes) 2021-12-09 02:26 [Show Content]

- Relationships

-  Notes
User avatar (0021863)
WubTheCaptain (reporter)
2021-12-09 02:26

Is the patch good?
User avatar (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.

User avatar (0021898)
Zalewa (developer)
2021-12-15 19:01

Merged it. Thanks.

Issue Community Support
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






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker