Skip to content

AL55: Remove build-type-not-none lint

Kevin Daudt requested to merge kdaudt/atools:remove-buildtype-none into master

Defining CMAKE_BUILD_TYPE=none frequently causes debug builds to be enabled, resulting either in larger packages, or even in slower applications.

The reason this was added was that we want to make sure our build flags are being used by the build. According to this merge request, this is also the case with build types like MinSizeRel, but they are prepended. That merge request contains further details and reasoning.

See also this merge request, which moves most packages over to MinSizeRel, so a lint that suggests to move it back to 'none' is counter-productive.

Remove the build-type-not-none linting, as it causes more issues than it solves.

Merge request reports