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

feat: Add CPM and Rust support #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

madskjeldgaard
Copy link

This adds support for using the CPM package manager as well as Rust.

Once this PR is merged, I can add Rust boiler plate to Pamplejuce :)

Copy link
Owner

@sudara sudara left a comment

Choose a reason for hiding this comment

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

This is great! Looking forward to transitioning things over to CPM, I think that'll be a nicer experience.

Re: Rust, we should find a way to give people what they need on the Pamplejuce side while having it be optional (disabled by default). Not sure what that really means because I don't really know what else has to be in place besides including Rust.cmake.

@@ -0,0 +1,39 @@
# Dependencies that are downloaded using the CPM package manager
include("${CMAKE_CURRENT_LIST_DIR}/CPM.cmake")
Copy link
Owner

Choose a reason for hiding this comment

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

Will this be a problem if CPM is already included? Do we need something like https://cmake.org/cmake/help/latest/command/include_guard.html ?

# SPDX-FileCopyrightText: Copyright (c) 2019-2023 Lars Melchior and contributors

set(CPM_DOWNLOAD_VERSION 0.38.7)
set(CPM_HASH_SUM "83e5eb71b2bbb8b1f2ad38f1950287a057624e385c238f6087f94cdfc44af9c5")
Copy link
Owner

Choose a reason for hiding this comment

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

What's the best practice for finding this hash and bumping the version, etc?...

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