mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 07:41:05 +08:00
0745ea97e0
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.
18 lines
394 B
JSON
18 lines
394 B
JSON
{
|
|
"version": 3,
|
|
"configurePresets":[
|
|
{
|
|
"name": "dev",
|
|
"binaryDir": "build",
|
|
"installDir": "${sourceDir}/build/install",
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_EXTENSIONS": "OFF",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
|
"SFML_BUILD_EXAMPLES": "ON",
|
|
"SFML_BUILD_TEST_SUITE": "ON",
|
|
"SFML_WARNINGS_AS_ERRORS": "ON"
|
|
}
|
|
}
|
|
]
|
|
}
|