Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CMake Workflow Presets to simplify usage #161

Closed

Conversation

ClausKlein
Copy link
Contributor

@ClausKlein ClausKlein commented Nov 30, 2022

And add CMake Workflow Presets to simplify usage

Copy link
Owner

@TheLartians TheLartians left a comment

Choose a reason for hiding this comment

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

Thanks for the PR and sorry for the late response! While I do appreciate updating dependencies to newer versions, I'm not really sure about some of the other changes made here.

.cmake-format Outdated Show resolved Hide resolved
name: Install

on:
push:
branches:
- master
- main
- develop
Copy link
Owner

Choose a reason for hiding this comment

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

We have master and main as these are two common defaults for new Git projects. develop on the other hand is more specific and users might want to define specific CI rules for such a branch, which is why it shouldn't be in the template IMO.

Copy link
Contributor Author

@ClausKlein ClausKlein Feb 4, 2023

Choose a reason for hiding this comment

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

I use git flow, that is also common used and has develop

Copy link
Owner

Choose a reason for hiding this comment

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

And that's fine, but in the starter I'd prefer a single style for simplicity instead of mixing different approaches.

.github/workflows/windows.yml Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
test/CMakeLists.txt Show resolved Hide resolved
@ClausKlein ClausKlein force-pushed the feature/use-project-options branch 2 times, most recently from b28eac1 to e0e6ff7 Compare February 4, 2023 13:40
Copy link
Owner

@TheLartians TheLartians left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Tbh I don't think it makes sense to go forward with this as it now goes far beyond updating packages used. The starter is not intended to suit every workflow but present an simple and opinionated starting point for new projects that users can adapt to suit their needs.

Perhaps instead we can reference to your fork of the starter to show more advanced configurations?

update CPM.cmake version too

Set FORCE option for SOURCE_DIR usage
link alias target cxxopts::cxxopts
export cxx_std_20 with target_compile_features()
but do not export pedantic Waning options!
@ClausKlein ClausKlein changed the title Update most packages used Add CMake Workflow Presets to simplify usage Jul 27, 2023
- Upgrade to gitup workflow action v3
- Prepare use of git-flow
- Use CMake v3.21 variable PROJECT_IS_TOP_LEVEL
- Use CMAKE_DEBUG_POSTFIX to prevent name clashes
- Add more config files
@ClausKlein
Copy link
Contributor Author

I am not longer interested to help!

@ClausKlein ClausKlein closed this Apr 4, 2024
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.

None yet

2 participants