0

The universal options for meson gives me build types for debug (the default) with no optimizations, and an optimized debug which uses -02. How do I generate a debug build that uses -Og ?

JDługosz
  • 5,592
  • 3
  • 24
  • 45

1 Answers1

0

The options are documented here: https://mesonbuild.com/Builtin-options.html

Specifically you want --optimization=g.

TingPing
  • 2,129
  • 1
  • 12
  • 15