Re: [SPAM] Re: 2024.1.6 rc2
James Turner <[email protected]> Mon, 15 Jun 2026 22:49:47 +0100
| Newsgroups | gmane.games.flightgear.devel |
|---|---|
| Message-ID | <[email protected]> |
> On 14 Jun 2026, at 03:02, Rhys Ackerman <[email protected]> wrote: > > Not necessarily. There is a FG_BUILD_TYPE, which is separate from the CMake build type that can be set and controls if Sentry starts up in Release or Debug mode, along with some other things. It is controlled in your build command with `-DFG_BUILD_TYPE`. If that is not specified, it defaults to "Dev". the possible options are "Release", "Dev", and "Nightly" > > I have just ran 2 tests, one building FG on Windows without specifying this, and I get the same debug messages as you. I then rebuilt, but specifying the build type as "Release" and I cannot see the same messages at all. And the fgfs.log starts with "Build Type Release" rather than "Build Type Dev" > > Hopefully setting this will fix your issue. I will update the wiki later on with this as it is not present there. These settings are really for the CI: the assumption is, if you’re bulding FG yourself, you want a ‘Dev’ build with the development options enabled. Nightly and Release adjust some defaults (and the log levels) and are set by the corresponding CI YAML. This is totally orthogonal to the CMake build config, which selects Debugs / Release / RelWithDebInfo : those affect things like compiler flags, whereas the FG build type affects things like ‘should DEV_WARN messages be shown or not’ Kind regards, James _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel