Commit Graph

3 Commits

Author SHA1 Message Date
Mario Liebisch
291e6248d6
Update CMakePresets and CMakeLists.txt
These changes ensure Visual Studio allows both Debug and Release builds,
while also supporting direct debugging of the examples.

If `CMAKE_BUILD_TYPE` is set in any way, Visual Studio will disable all
targets in the UI (and in generally have a really good tendency to bug
out).
2024-06-07 13:22:55 +02:00
Chris Thrasher
0745ea97e0 Disable warnings as errors by default
This is not the best default value because it imposes additional
requirements on user builds that are not strictly necessary. This
has caused many complaints in the past as people encounter build
failures that are merely due to warnings and not hard compiler
errors.

Changing this default value emakes it more likely that someone trying
to use SFML can use it without issue.
2023-09-07 14:16:51 -06:00
Chris Thrasher
157feec05d Simplify CI with CMake presets 2023-08-11 15:25:14 -06:00