1
0
Fork 0
mutter-performance-source/mtk
Robert Mader 8e912a09d1 build: Disable asserts and cast checks in Mutter
For non-debug and non-plain cases - i.e. mainly release builds.

This ensures we use the same options in all places and draws a cleaner
distinction between g_assert() and g_return_if_fail() - the later will
still be done in release build while the former are meant for debug
only.

One advantage of doing this is that it allows us to use non-trivial
asserts more generously, such as calling `g_list_length()`.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3424>
2024-09-24 14:07:23 +00:00
..
mtk mtk: Move meta_rectangle_transform to Mtk 2024-08-09 15:51:36 +00:00
meson.build build: Disable asserts and cast checks in Mutter 2024-09-24 14:07:23 +00:00