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

Improve relative path functionality for link-libraries #149

Merged
merged 2 commits into from
Sep 6, 2024
Merged

Conversation

mrexodia
Copy link
Contributor

@mrexodia mrexodia commented Sep 6, 2024

Now the following cmake.toml will also insert ${CMAKE_CURRENT_SOURCE_DIR}/ automatically:

[target.foo]
type = "executable"
link-libraries = ["test.lib"]

If ./test.lib exists it will emit ${CMAKE_CURRENT_SOURCE_DIR}/test.lib (instead of test.lib verbatim).

@mrexodia mrexodia changed the title Improve relative path functionality for link-libraries Improve relative path functionality for link-libraries Sep 6, 2024
@mrexodia mrexodia merged commit 87d9013 into main Sep 6, 2024
8 checks passed
@mrexodia mrexodia deleted the relative-libs branch September 6, 2024 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant