Skip to content

Use cookiecutter.cpp_build_version in README#313

Merged
ednolan merged 1 commit intomainfrom
enolan_cookiecutterbuildversion1
Mar 14, 2026
Merged

Use cookiecutter.cpp_build_version in README#313
ednolan merged 1 commit intomainfrom
enolan_cookiecutterbuildversion1

Conversation

@ednolan
Copy link
Copy Markdown
Member

@ednolan ednolan commented Mar 14, 2026

Previously, this was hardcoded to 20.

Previously, this was hardcoded to 20.
@ednolan ednolan merged commit 546c192 into main Mar 14, 2026
26 of 88 checks passed
@ednolan ednolan deleted the enolan_cookiecutterbuildversion1 branch March 14, 2026 21:57
Comment thread README.md

```bash
cmake -B build -S . -DCMAKE_CXX_STANDARD=20 -DBEMAN_EXEMPLAR_BUILD_TESTS=OFF
cmake -B build -S . -DCMAKE_CXX_STANDARD=17 -DBEMAN_EXEMPLAR_BUILD_TESTS=OFF
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realize you already merged, but this strikes me as strange -- wouldn't we wnat to put the minimum value there? And I don't like that we went to 17 -- every Beman library requires 20+

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

17 is the minimum version for this case— beman.exemplar supports c++17 and cookiecutter libraries stamped out from it will also build with c++17 in CI by default. Maybe I should rename this cookiecutter parameter from cpp_build_version to cpp_minimum_build_version. Before this commit, that parameter was actually entirely unused; the only thing it's used for now is filling in these README examples.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4448085 renames cpp_build_version to minimum_cpp_build_version.

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.

2 participants