mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-06 20:25:44 +00:00
This is used by Visual Studio's CMake integration. I've added configs for targeting x64 and x86, Debug and Release, as well as the Clang (clang-cl) variants. Choosing a Clang variant will prompt the user to install Visual Studio's clang-cl support via the installer. Change-Id: I6cc33ea8a3c5dced8df476d72629fdec5044663b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44883 Commit-Queue: Antonio Maiorano <amaiorano@google.com> Auto-Submit: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com>
100 lines
3.2 KiB
JSON
100 lines
3.2 KiB
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name": "x64-Debug",
|
|
"generator": "Ninja",
|
|
"configurationType": "Debug",
|
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"variables": []
|
|
},
|
|
{
|
|
"name": "x64-Release",
|
|
"generator": "Ninja",
|
|
"configurationType": "RelWithDebInfo",
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
|
"variables": []
|
|
},
|
|
{
|
|
"name": "x86-Debug",
|
|
"generator": "Ninja",
|
|
"configurationType": "Debug",
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"inheritEnvironments": [ "msvc_x86" ],
|
|
"variables": []
|
|
},
|
|
{
|
|
"name": "x86-Release",
|
|
"generator": "Ninja",
|
|
"configurationType": "RelWithDebInfo",
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"inheritEnvironments": [ "msvc_x86" ],
|
|
"variables": []
|
|
},
|
|
{
|
|
"name": "x64-Clang-Debug",
|
|
"generator": "Ninja",
|
|
"configurationType": "Debug",
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"inheritEnvironments": [ "clang_cl_x64_x64" ],
|
|
"variables": []
|
|
},
|
|
{
|
|
"name": "x64-Clang-Release",
|
|
"generator": "Ninja",
|
|
"configurationType": "RelWithDebInfo",
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"inheritEnvironments": [ "clang_cl_x64_x64" ],
|
|
"variables": []
|
|
},
|
|
{
|
|
"name": "x86-Clang-Debug",
|
|
"generator": "Ninja",
|
|
"configurationType": "Debug",
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"inheritEnvironments": [ "clang_cl_x86" ],
|
|
"variables": []
|
|
},
|
|
{
|
|
"name": "x86-Clang-Release",
|
|
"generator": "Ninja",
|
|
"configurationType": "RelWithDebInfo",
|
|
"buildRoot": "${projectDir}\\out\\build\\${name}",
|
|
"installRoot": "${projectDir}\\out\\install\\${name}",
|
|
"cmakeCommandArgs": "",
|
|
"buildCommandArgs": "",
|
|
"ctestCommandArgs": "",
|
|
"inheritEnvironments": [ "clang_cl_x86" ],
|
|
"variables": []
|
|
}
|
|
]
|
|
} |