Files
Sergey Fionov 830cf903d6 Pull request 666: Add CMakePresets.json
Squashed commit of the following:

commit e49be247866e1cdbecab43e484b0e0697f93bfd4
Author: Sergey Fionov <sfionov@adguard.com>
Date:   Thu Apr 2 16:45:56 2026 +0300

    Oops

commit 47cb78562f8c20bbcf8b48f83348065fe21fb2f6
Author: Sergey Fionov <sfionov@adguard.com>
Date:   Thu Apr 2 16:45:01 2026 +0300

    Add CMakePresets.json
2026-04-02 18:01:35 +00:00

31 lines
1.1 KiB
JSON

{
"version": 8,
"configurePresets": [
{
"name": "cmake-build-debug",
"displayName": "Debug",
"description": "Sets Ninja generator, build and install directory",
"generator": "Ninja",
"binaryDir": "${sourceDir}/cmake-build-debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_CXX_FLAGS": "-stdlib=libc++"
}
},
{
"name": "cmake-build-relwithdebinfo",
"displayName": "RelWithDebInfo",
"description": "Sets Ninja generator, build and install directory",
"generator": "Ninja",
"binaryDir": "${sourceDir}/cmake-build-relwithdebinfo",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_CXX_FLAGS": "-stdlib=libc++"
}
}
]
}