20,741
edits
m (→See also: https://forum.flightgear.org/viewtopic.php?f=45&t=36922&p=364937#p364937) |
m (→Approach) |
||
| Line 37: | Line 37: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Example: disabling PUI == | |||
Knowing that [[PUI]] contains legacy OpenGL code and knowing it's scheduled to be removed anyway, we will disable it completely without reviewing/porting individual files. | |||
We will be adding <code>#ifdef</code> macros to the sources in question, and update CMakeLists.txt accordingly. | |||
Ideally, in conjunction with a feature-specific build option to disable the corresponding feature (think [[PUI]] or the [[HUD]]). | Ideally, in conjunction with a feature-specific build option to disable the corresponding feature (think [[PUI]] or the [[HUD]]). | ||
{{Main article|Developing using CMake}} | {{Main article|Developing using CMake}} | ||