obsproject / obs-plugintemplate

GNU General Public License v2.0
285 stars 133 forks source link

cmake: Move common variables to an inherited preset #111

Closed RytoEX closed 8 months ago

RytoEX commented 8 months ago

Description

Move ENABLE_FRONTEND_API and ENABLE_QT from individual presets to a common preset that is hidden but inherited by the individual presets.

Motivation and Context

Generally, these will have the same values on all platforms. Make it easier for plugin devs to enable or disable Frontend API and Qt for all presets/platforms.

Devs can still override this per preset if needed by simply setting a different value in an individual preset.

Fixes #103

How Has This Been Tested?

Haven't tested locally. CI should be able to test.

Types of changes

Checklist: