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
harfbuzz is a problem. It is a Meson recipe, and it appears Meson ignores tools.build:defines
I am not sure why, it has tc.preprocessor_definitions just like the CMakeToolchain, why would conan not pass these onto Meson as well?
Additionally, I tried to test by adjusting harfbuzz's recipe, by adding to def configure(self): tc.preprocessor_definitions["_ITERATOR_DEBUG_LEVEL"] = 0
But Meson then builds with this command line (which fails with a cl.exe fatal error):
Describe the bug
Windows, MSVC, conan 2.2.3
I'm building a project with MSVC and Debug mode.
I want to set _ITERATOR_DEBUG_LEVEL=0 across ALL dependencies. This is required for linking.
I added to the profile:
harfbuzz is a problem. It is a Meson recipe, and it appears Meson ignores tools.build:defines
I am not sure why, it has
tc.preprocessor_definitions
just like the CMakeToolchain, why would conan not pass these onto Meson as well?Additionally, I tried to test by adjusting harfbuzz's recipe, by adding to
def configure(self):
tc.preprocessor_definitions["_ITERATOR_DEBUG_LEVEL"] = 0
But Meson then builds with this command line (which fails with a cl.exe fatal error):
Note this command line parameter:
"-D_ITERATOR_DEBUG_LEVEL=\"0\""
It should simply read:
"-D_ITERATOR_DEBUG_LEVEL=0"
I can't even hack the recipe to get where I need to go ...
The text was updated successfully, but these errors were encountered: