Commit 25c699d2 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Update CMakePresets.json

parent d4dba61c
......@@ -7,7 +7,8 @@
"generator": "Ninja",
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
......@@ -20,6 +21,16 @@
"ECM_ENABLE_SANITIZERS" : "'address;undefined'"
}
},
{
"name": "unity",
"displayName": "Build with CMake unity support.",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-unity",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_UNITY_BUILD": "ON"
}
},
{
"name": "release",
"displayName": "Build as release mode.",
......@@ -28,6 +39,15 @@
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
}
},
{
"name": "profile",
"displayName": "profile",
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-profile",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
}
]
}
Markdown is supported
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