You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After reading https://mesonbuild.com/Precompiled-headers.html
In case of multi separate libraries that belong to the same project, that all have the same system includes, I would like to reuse a common precompiled header instead of having n times the same gch but in a local directory.
I would like each static lib to reuse the same common precompiled header.
Note: those libs work together so they are always compiled with the same options.
I basically want to be able to take into account to an already existing gch file.
How would I do that using Meson?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
After reading https://mesonbuild.com/Precompiled-headers.html
In case of multi separate libraries that belong to the same project, that all have the same system includes, I would like to reuse a common precompiled header instead of having n times the same gch but in a local directory.
I am on Linux, using gcc if it is of any help.
Structure:
/Common
--my_gch.hxx
--my_gch.gch
/StaticLib1
--include/
--src/
/StaticLib2
--include/
--src/
Etc..
I would like each static lib to reuse the same common precompiled header.
Note: those libs work together so they are always compiled with the same options.
I basically want to be able to take into account to an already existing gch file.
How would I do that using Meson?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions