Skip to content

Commit

Permalink
Add CMakeSettings.json for Visual Studio 2022
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusgreuel committed May 9, 2022
1 parent b8420ee commit 15fe12b
Showing 1 changed file with 126 additions and 0 deletions.
126 changes: 126 additions & 0 deletions CMakeSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,126 @@
{
"configurations": [
{
"name": "x86-Debug",
"generator": "Visual Studio 17 2022",
"configurationType": "Debug",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x86" ],
"variables": [
{
"name": "DEBUG_CMAKE",
"value": "True",
"type": "BOOL"
},
{
"name": "USE_EXTERNAL",
"value": "True",
"type": "BOOL"
}
]
},
{
"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": "DEBUG_CMAKE",
"value": "True",
"type": "BOOL"
},
{
"name": "USE_EXTERNAL",
"value": "True",
"type": "BOOL"
},
{
"name": "CMAKE_C_FLAGS_RELWITHDEBINFO",
"value": "/MT /GL /Zi /O2 /Ob1 /DNDEBUG",
"type": "STRING"
},
{
"name": "CMAKE_CXX_FLAGS_RELWITHDEBINFO",
"value": "/MT /GL /Zi /O2 /Ob1 /DNDEBUG",
"type": "STRING"
},
{
"name": "CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO",
"value": "/debug /INCREMENTAL:NO /LTCG /OPT:REF /OPT:ICF",
"type": "STRING"
}
]
},
{
"name": "x64-Debug",
"generator": "Visual Studio 17 2022 Win64",
"configurationType": "Debug",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64_x64" ],
"variables": [
{
"name": "DEBUG_CMAKE",
"value": "True",
"type": "BOOL"
},
{
"name": "USE_EXTERNAL",
"value": "True",
"type": "BOOL"
}
]
},
{
"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": "DEBUG_CMAKE",
"value": "True",
"type": "BOOL"
},
{
"name": "USE_EXTERNAL",
"value": "True",
"type": "BOOL"
},
{
"name": "CMAKE_C_FLAGS_RELWITHDEBINFO",
"value": "/MT /GL /Zi /O2 /Ob1 /DNDEBUG",
"type": "STRING"
},
{
"name": "CMAKE_CXX_FLAGS_RELWITHDEBINFO",
"value": "/MT /GL /Zi /O2 /Ob1 /DNDEBUG",
"type": "STRING"
},
{
"name": "CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO",
"value": "/debug /INCREMENTAL:NO /LTCG /OPT:REF /OPT:ICF",
"type": "STRING"
}
]
}
]
}

0 comments on commit 15fe12b

Please sign in to comment.