mirror of
https://github.com/SFML/SFML.git
synced 2025-02-19 06:39:59 +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.