-
Notifications
You must be signed in to change notification settings - Fork 17
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
Remove rock macros #48
base: master
Are you sure you want to change the base?
Conversation
|
Why not build with rock-macros if they are available? If the rock-cmake macros are available in a workspace and currently the installation supports it use, why just removing this feature? It would make the compatibility with future rock updates easier and it should not make any difference for the goal of building the library without rock (else case). |
I think that would just unnecessarily bloat the code and I don't see any benefit from it, as autoproj can easily handle CMake-Packages and install them into a workspace. The CMake-Macros do not provide any advantage anymore. |
Well it is true that the rock cmake macros are there to save cmake development time. If the developers have already implemented those additional CMake lines, then it indeed doesn't seem to make much sense to keep using the macros as @skasperski points out. On the other hand, the point of forward compatibility with Autoproj still holds. Although it is also true that Autoproj anyway also supports CMake projects without the macros, it just seems to me that it might bring some extra work when using it in Rock in the future. But not sure yet about that. |
From my side, this can also be merged but I think @planthaber has pointed out 2 missing points, does that mean that this should not be merged yet? Maybe a good idea then to put this as a draft so we can know when it is ready for testing? |
If we can create a good solution here, the idea is to update the "rock-create-lib" template or at least create an alternative "rock-create-cmake-only-lib" template that is compatible with the rock definitions (enable/disable vizkit3d, tests, etc.). This PR is now converted to draft btw. |
See #49 to write the pkg-config deps in correct format for the maps.pc so that the orogen component can find the dependencies. At the moment the maps. pc requires looks like
|
I tried to the build the cmake version of the lib and result is a failed build with the error:
|
No description provided.