Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Upgrade/Simplify the CMake file further #1074

Merged
merged 2 commits into from
Oct 5, 2023
Merged

Upgrade/Simplify the CMake file further #1074

merged 2 commits into from
Oct 5, 2023

Conversation

Xaymar
Copy link
Owner

@Xaymar Xaymar commented Oct 5, 2023

More precursor work to the eventual split into multiple smaller plugin files.

- target_sources(... PUBLIC ...) doesn't do what I thought it did, and has no useful purpose here.
- Experimental features are an Alpha only thing, and Unstable features should not be part of a Candidate release.
- ENABLE_LTO is not a flag anymore, as CMake has a global flag for it.

While we haven't split out Core from the main file yet, and we still keep running into strange duplicate symbol or undefined symbol errors, this will hopefully simplify the CMake file further. End goal is to eventually split StreamFX into smaller sub-plugins that can operate mostly independently. At some point, the goal is to be able to soft-depend on other components, i.e. Blur can softly depend on Dynamic Mask, and then have extra features if the component is installed. This is not quite fleshed out yet, and I have no clear idea on how to make it work.
@Xaymar Xaymar merged commit bbcce86 into root Oct 5, 2023
6 checks passed
@Xaymar Xaymar deleted the patch/cmake-upgrade branch October 5, 2023 07:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant