Rémi Verschelde
d4ee5dec1a
CMake: Add ENABLE_WARNINGS and ENABLE_WERROR build options
...
ENABLE_WARNINGS is enabled by default, with `-Wall` on GCC/Clang and
`/W4` on MSVC.
ENABLE_WERROR is disabled by default, treats warnings as errors.
2020-01-11 08:53:32 -05:00
Charlie Bruce
d6392ccbe3
Move PROJECT line after CMAKE_OSX_DEPLOYMENT_TARGET line
...
This is suggested by the documentation: https://cmake.org/cmake/help/latest/variable/CMAKE_OSX_DEPLOYMENT_TARGET.html
2020-01-11 05:18:29 +00:00
Charlie Bruce
1a6ce2617a
On macOS, use default SDK if version 10.9 is not installed.
2020-01-11 05:18:29 +00:00
Marvin Scholz
eb7920ec47
Add workaround for missing macOS 10.9 SDK
2020-01-10 19:53:11 -05:00
Marvin Scholz
51b2420181
Add partial-availability error on macOS
...
When building on macOS targeting an older version than the version of
the SDK currently used, this prevents accidentally using APIs that are
too new (introduced in macOS versions newer than the deployment target).
2020-01-10 19:53:11 -05:00
Ethan Lee
f7c0321b71
Hello WWWWWWorld!
2020-01-08 10:37:50 -05:00