-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Public Headers #3
Comments
Hi Julian, Good point. Once C++20 modules are supported in CMake, liblava will be upgraded completely. Currently it has to be done manually or via script. Unfortunately. |
Hi @TheLavaBlock, I am currently checking the library again for some progress, and I notice this issue is still open. As C++ 20 modules on CMake will not get supported until who known when, is there a way to workaround this issue? You mentioned then it can be done manually or via a script. I would be fine with both, but can you please give me a hint on what can be done? I was checking this CMake function, but I'm not sure it's exactly what we need: https://cmake.org/cmake/help/v3.17/module/GenerateExportHeader.html Any help on this topic is appreciated :) Thank you in advance, |
The canonic way to do it would be with the A really easy alternative is something like
|
I like the easy alternative. |
And yeah, C++20 modules with CMake will take a while. |
But Although at the same time, pre-compiling it would provide faster compilation for whichever library may link to liblava. So I'm not sure we can merge the pre-built lib files with public headers, which do contain code anyway inside. Or am I missing something here? |
There's no code in .hpp files, it's just a regular C++ header. But yes, you'd still need an I can give this a try tomorrow (no promises 🤡) |
@julianxhokaxhiu PR with preliminary install support: #18 Feel free to give it a try and report back |
@julianxhokaxhiu can this be closed? Think #18 is doing a good job. |
Absolutely! Thank you again |
Hi,
I've successfully managed to build the library under 32bit platform thanks to #2.
Now although I'm facing another problem. As I'd like to use this library as a pre-built library, I'm missing the include headers. Is there a possibility to have public headers installed via CMake when running the install target?
Would be fine to have them generated as well, one per target.
Thank you in advance,
Julian
The text was updated successfully, but these errors were encountered: