Skip to content

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