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
Changing cross file settings
Cross file settings are only read when the build directory is set up the first time. Any changes to them after the fact will be ignored. This is the same as regular compiles where you can't change the compiler once a build tree has been set up. If you need to edit your cross file, then you need to wipe your build tree and recreate it from scratch.
Of course it is easy to manually delete the build directory or use --wipe, but it is very easy to forget about it and waste some time, while thinking that everything "should work", because the settings was changed (but actually not applied).
And, if you are sending edited cross file to someone, you must warn them "hey, wipe the builddir"...
May be that doc is old? Is there some flag to tell Meson to reconfigure cross file settings (or wipe) automatically if the file was changed? Or plans to add this feature?
The text was updated successfully, but these errors were encountered:
Hello!
From the documentation (https://mesonbuild.com/Cross-compilation.html#changing-cross-file-settings):
Of course it is easy to manually delete the build directory or use
--wipe
, but it is very easy to forget about it and waste some time, while thinking that everything "should work", because the settings was changed (but actually not applied).And, if you are sending edited cross file to someone, you must warn them "hey, wipe the builddir"...
May be that doc is old? Is there some flag to tell Meson to reconfigure cross file settings (or wipe) automatically if the file was changed? Or plans to add this feature?
The text was updated successfully, but these errors were encountered: