Replies: 1 comment 1 reply
-
We're quite interested in something like this as well. One fundamental problem is that currently wrapping a precompiled library requires using the I haven't explored solutions yet but my current thinking is to add a new project class attribute that allows switching between "export" or "generate" at generation time, either when adding a project to a solution via |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm brainstorming ideas to use Sharpmake to build libraries in distinct repositories/builds and seamlessly consume them from other projects also built using Sharpmake. Please I would like to know your thoughts, recommendations or alternative ideas about this topic.
The vcpkg sample provides a way to fetch libraries from a dependency manager and consume them seamlessly, which looks great. I would like to extend that idea with the following features in mind:
The build of each library is specified in a Sharpmake project+solution as usual, with its own unit tests / validation / CI.
Dependencies to other libraries can be either:
or
The developer by default would build only the project they are working on, and have dependencies fulfilled by the dependency manager. But if the developer wants to choose any dependency to build locally from sources, they could switch to an editable local build easily. In this case, the solution generated by Sharpmake would include the dependency as a project. Ideally, this should be an easy step performed through configuration: both the dependency Sharpmake project and the consumer Sharpmake project would encapsulate the behavior in a way that could be configured without code changes (or at most a trivial code change in the consumer Sharpmake project).
Any ideas or suggestions will be greatly appreciated!
Thank you for your attention.
Best regards,
Cesar
Beta Was this translation helpful? Give feedback.
All reactions