Skip to content

Commit

Permalink
CMake: Add CMakeSettings.json for use by Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Rubli committed Oct 22, 2021
1 parent 3f4fa72 commit b9c8d79
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions CMakeSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
{
"configurations": [
{
"name": "x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"variables": [
{
"name": "BUILD_TOOLS",
"value": "False",
"type": "BOOL"
},
{
"name": "BUILD_SHARED_LIBS",
"value": "False",
"type": "BOOL"
}
]
},
{
"name": "x64-Release",
"generator": "Ninja",
"configurationType": "RelWithDebInfo",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64_x64" ],
"variables": [
{
"name": "BUILD_SHARED_LIBS",
"value": "False",
"type": "BOOL"
},
{
"name": "BUILD_TOOLS",
"value": "False",
"type": "BOOL"
}
]
},
{
"name": "x86-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x86" ],
"variables": [
{
"name": "BUILD_SHARED_LIBS",
"value": "False",
"type": "BOOL"
},
{
"name": "BUILD_TOOLS",
"value": "False",
"type": "BOOL"
}
]
},
{
"name": "x86-Release",
"generator": "Ninja",
"configurationType": "RelWithDebInfo",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x86" ],
"variables": [
{
"name": "BUILD_SHARED_LIBS",
"value": "False",
"type": "BOOL"
},
{
"name": "BUILD_TOOLS",
"value": "False",
"type": "BOOL"
}
]
}
]
}

0 comments on commit b9c8d79

Please sign in to comment.