mirror of
https://github.com/SFML/SFML.git
synced 2025-03-27 00:16:02 +08:00
The use of target_compile_options makes it easy to append warnings to a target. The use of generator expressions also more succinctly handles a few edge cases for compiler bugs and platform-specific oddities. This should be easy to read and maintain than the variable-based solution it replaces.