jrl-umi3218 / jrl-cmakemodules

CMake utility toolbox
https://jrl-cmakemodules.readthedocs.io/en/master/
Other
61 stars 47 forks source link

Allow to create workspace #701

Closed jorisv closed 4 months ago

jorisv commented 4 months ago

This PR aims to allow project using jrl-cmakemodules to be used under the same root CMakeLists.txt (workspace).

dist and doc target is working with multiple project but distcheck is not working. Since distcheck do some very heroic thing with the CMakeCache.txt, I don't think we can make it work for multiple project.

nim65s commented 4 months ago

Thanks for this work ! This is still a draft, but can it be reviewed / tested yet, or should I wait a bit ?

jorisv commented 4 months ago

I will push similar PR on:

I will also create a new repository called simple-robotics/workspace that will store the root CMakelists.txt and probably some scripts to populate the workspace.

jorisv commented 4 months ago

I keep this PR as a draft until I'm sure all modified project still build in standalone mode in the CI.

jorisv commented 4 months ago

@nim65s If you want to test it, I have uploaded the workspace repository.

If the README.md is hard to understand or you encounter some issues please add some comment in this PR