-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Generate CMake configuration file #20
Comments
Ah, thanks @traversaro. Since I'm largely a cmake novice this may take me a while to dig into, so if you do decide to work on this yourself I'd be very grateful! An alternative short-term workaround is to eliminate the need for build systems and subprojects completely by dropping the single-file version of the library |
On an unrelated note, I just had a look at the linked issue and noticed that my use of |
Hi @marzer, If it's ok for you I can propose a PR with the solution described by @traversaro in #20 (comment) |
Yup, go for it! I'm going to push a fix for the |
@traversaro @GiulioRomualdi I've just done some minor cleanup to move the cmake stuff behind a configuration option
|
Is your feature request related to a problem? Please describe.
It would be great if tomlplusplus could install a CMake config file to permit downstream users to use it in CMake by simply:
Describe the solution you'd like
I think this is possible by using meson support for writing CMake configuration files, see https://mesonbuild.com/CMake-module.html#cmake-configuration-files .
Describe alternatives you've considered
The alternative is to leave to downstream users to write and install a
Findtomlplusplus.cmake
file, see ami-iit/bipedal-locomotion-framework#26 (comment)Additional context
Depending on wheter we end up using toml++ in our projects, I may be happy to work on it myself. This should also simplify the integration of toml++ in vcpkg (see microsoft/vcpkg#10667).
cc @GiulioRomualdi @S-Dafarra
The text was updated successfully, but these errors were encountered: