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
Describe the bug
If you use something like conf.configuration_data() and conf.set('var_name', var_value), the produced config.h file will have a C-style header:
/*
* Autogenerated by the Meson build system.
* Do not edit, your changes will be lost.
*/
Inno Setup scripts are not compatible with that, they need a C++ style comment comment and I see no option in https://mesonbuild.com/Configuration.html to change that.
Creating a custom config.h file from config.h.in with configure_file isn't doable because GIMP defines more than 80 variables.
Now, we don't need to set a lot of params when calling 'issc' anymore.
The version vars will be taken from Meson, being more future-proof.
This is not 100% future-proof, however, because we unfortunately can not
take 'config.h' vars directly due to Meson limitations:
mesonbuild/meson#14260
Describe the bug
If you use something like
conf.configuration_data()
andconf.set('var_name', var_value)
, the produced config.h file will have a C-style header:Inno Setup scripts are not compatible with that, they need a C++ style comment comment and I see no option in https://mesonbuild.com/Configuration.html to change that.
Creating a custom config.h file from config.h.in with configure_file isn't doable because GIMP defines more than 80 variables.
To Reproduce
Create a meson.build file with:
Run
meson setup
Expected behavior
config.h file have C++ style comment, which is more universal(?), or option to choose it if it isn't the default
system parameters
The text was updated successfully, but these errors were encountered: