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 some more cmake options for downloads etc #78

Merged
merged 4 commits into from
Feb 18, 2025

Conversation

baconpaul
Copy link
Collaborator

Add two cmake options

  • CLAP_HELPERS_DOWNLOAD_CLAP_BRANCH_IS_NEXT - does CPM pull next or main?
  • CLAP_HELPERS_NO_CLAP_IS_FATAL - if no download and no clap, allow a build to try and struggle on?

Comment on lines +105 to +106
- name: Configure project (not next)
if: github.ref != 'refs/heads/next'
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- name: Configure project (not next)
if: github.ref != 'refs/heads/next'
- name: Configure project (main)
if: github.ref == 'refs/heads/main'

Would this be better?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The reason I did it this way is if in the future we add a feature branch and want ci then it will work. But I thought about your way too. I’m not sure

Copy link
Contributor

Choose a reason for hiding this comment

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

feature branch make sense

baconpaul and others added 2 commits February 14, 2025 14:13
Co-authored-by: Dalton Messmer <messmer.dalton@gmail.com>
Co-authored-by: Dalton Messmer <messmer.dalton@gmail.com>
@abique
Copy link
Contributor

abique commented Feb 18, 2025

Should CLAP_HELPERS_DOWNLOAD_DEPENDENCIES be named CLAP_HELPERS_ENABLE_CPM?

@abique abique merged commit b18123b into free-audio:main Feb 18, 2025
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.

3 participants