You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a big project with another huge project (llvm) embedded as a sub folder which after compilation amounts to over 500 static library files. I already export everything as needed to conan cache and would like to just tell conan to link all libs in my ${prefix}/lib path by specifying the path with a wildcard. In other words i would like it to provide all libs, i.e.:
/path/to/lib/folder/*.a
How could i achieve this?
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
nkindt
changed the title
Linking all libs in path
[question] Linking all libs in path
Dec 26, 2024
I assume you're exporting that big project and its libraries through a conanfile. It's quite recommended to declare one library per component, but I think that, as a workaround, you could declare in your big-project-conanfile something like this:
I assume you're exporting that big project and its libraries through a conanfile
It's a project with a conanfile.py and various third_party folder dependencies that are not. All the dependencies are already copied correctly to the cache and another project including it compiles just fine, it's the linker that is giving troubles.
I will spend some time testing this out. Thank you!
What is your question?
I have a big project with another huge project (llvm) embedded as a sub folder which after compilation amounts to over 500 static library files. I already export everything as needed to conan cache and would like to just tell conan to link all libs in my ${prefix}/lib path by specifying the path with a wildcard. In other words i would like it to provide all libs, i.e.:
/path/to/lib/folder/*.a
How could i achieve this?
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: