meson: add checks, defaults

Default to debugoptimized builds instead of the meson default of debug
since that is the autotools default.

Anything other than c++17 is not supported, so error out if something
else is selected by the user.

Make tiny builds even smaller by removing asserts and remove asserts for
release builds.

Change-Id: I034438263b1125c476dccb377dc52142415dddd2
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
1 file changed