Skip to content

Respect features when building CMake examples#230

Merged
zayenz merged 2 commits into
mainfrom
feature/feature-aware-cmake-examples
Jul 14, 2026
Merged

Respect features when building CMake examples#230
zayenz merged 2 commits into
mainfrom
feature/feature-aware-cmake-examples

Conversation

@zayenz

@zayenz zayenz commented Jul 13, 2026

Copy link
Copy Markdown
Member

CMake currently enables the set and float modules whenever examples are requested, overriding explicit feature choices. The example targets therefore do not follow the same feature groups as the Autotools build.

Keep optional variable modules disabled when requested and select set, float, and MPFR examples from explicit groups. Minimodel also links the set library only when set variables are enabled.

The CI smoke test checks integer-only target selection, builds an integer example, and verifies the set, float, and MPFR target groups. I also built integer-only, set-enabled, and float-without-MPFR configurations locally.

Closes #83.

@zayenz zayenz marked this pull request as ready for review July 14, 2026 06:24
@zayenz zayenz force-pushed the feature/feature-aware-cmake-examples branch from 4ded0ba to d7c965f Compare July 14, 2026 06:57
@zayenz zayenz merged commit fcc0645 into main Jul 14, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant