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
so they kinda cannot connect to each other as is, which is disappointing. I don't know where shoud be the right fix, in MesonToolchain or AutoToolsDeps.
Environment Details (include every applicable attribute)
Operating System+version:
Compiler+version:
Conan version:
Python version:
Steps to reproduce (Include if Applicable)
Logs (Executed commands with output) (Include/Attach if Applicable)
The text was updated successfully, but these errors were encountered:
CPPFLAGS are for the C and Fortran preprocessor - that said, this is a bit confusing - because most flags that control the preprocessor https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html - can be passed directly to the compiler as far as I'm aware
related to #10683, coming from conan-io/conan-center-index#11053
in an attempt to migrate
Glib
toMesonToolchain
I had to put the following workaround:to propagate
CPPFLAGS
intoCFLAGS
/CXXFLAGS
.AutoToolsDeps
sets includedirs toCPPFLAGS
only:https://github.com/conan-io/conan/blob/1.48.2/conan/tools/gnu/autotoolsdeps.py#L46
https://github.com/conan-io/conan/blob/1.48.2/conan/tools/gnu/autotoolsdeps.py#L74
while
MesonToolchain
currently only reads fromCFLAGS
/CXXFLAGS
:https://github.com/conan-io/conan/blob/1.48.2/conan/tools/meson/toolchain.py#L154-L157
so they kinda cannot connect to each other as is, which is disappointing. I don't know where shoud be the right fix, in
MesonToolchain
orAutoToolsDeps
.Environment Details (include every applicable attribute)
Steps to reproduce (Include if Applicable)
Logs (Executed commands with output) (Include/Attach if Applicable)
The text was updated successfully, but these errors were encountered: