Commit c88e01b5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add support for building without deprecated method

parent ca54623b
......@@ -11,6 +11,17 @@
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "dev-disable-deprecated",
"displayName": "Build as without deprecated methods",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-disable-deprecated",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_CXX_FLAGS_INIT": "-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000"
}
},
{
"name": "asan",
"displayName": "Build with Asan support.",
......@@ -29,7 +40,7 @@
"binaryDir": "${sourceDir}/build-unity",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"USE_UNITY_CMAKE_SUPPORT": "ON",
"CMAKE_UNITY_BUILD": "ON",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
......@@ -71,6 +82,18 @@
"name": "dev",
"configurePreset": "dev"
},
{
"name": "asan",
"configurePreset": "asan"
},
{
"name": "dev-disable-deprecated",
"configurePreset": "dev-disable-deprecated"
},
{
"name": "unity",
"configurePreset": "unity"
},
{
"name": "clazy",
"configurePreset": "clazy",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment