mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-02 23:42:21 +03:00
Whereas all `SDL_assert`s will go away when compiling with optimization flags and all plain `assert` calls (used in PhysFS) will go away when compiling in Release mode, FAudio has a bunch of debug stuff that needs to be explicitly disabled with its own `FAUDIO`-prefixed flag. To do this in Release mode, we need to use generator expressions for dumb CMake reasons. Basically, if checking the CMAKE_BUILD_TYPE variable will not work for certain generators (Ninja, Visual Studio) because they only specify the build type at build time, not generation/configuration time.
13 KiB
13 KiB