mirror of
https://github.com/dolphin-emu/dolphin
synced 2025-10-06 00:13:03 +02:00
CMake: Add MSVC support
This commit is contained in:
@@ -1,20 +1,38 @@
|
||||
{
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "x64-Debug",
|
||||
"generator": "Visual Studio 15 2017 Win64",
|
||||
"configurationType": "Debug",
|
||||
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
|
||||
"name": "Release",
|
||||
"configurationType": "Release",
|
||||
"generator": "Visual Studio 16 2019 Win64",
|
||||
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||
"buildCommandArgs": "-m -p:PreferredToolArchitecture=x64",
|
||||
"buildRoot": "${workspaceRoot}\\build",
|
||||
"cmakeCommandArgs": "",
|
||||
"buildCommandArgs": "-m -p:PreferredToolArchitecture=x64"
|
||||
"variables": [
|
||||
{
|
||||
"name": "Qt5_DIR",
|
||||
"value": "${workspaceRoot}\\Externals\\Qt\\Qt5.11.1\\5.11.1\\msvc2017_64\\lib\\cmake\\Qt5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "x64-Release",
|
||||
"generator": "Visual Studio 15 2017 Win64",
|
||||
"configurationType": "Release",
|
||||
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
|
||||
"name": "Debug",
|
||||
"generator": "Visual Studio 16 2019 Win64",
|
||||
"configurationType": "Debug",
|
||||
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||
"buildCommandArgs": "-m -p:PreferredToolArchitecture=x64",
|
||||
"buildRoot": "${workspaceRoot}\\build",
|
||||
"cmakeCommandArgs": "",
|
||||
"buildCommandArgs": "-m -p:PreferredToolArchitecture=x64"
|
||||
"variables": [
|
||||
{
|
||||
"name": "CMAKE_BUILD_TYPE",
|
||||
"value": "Debug"
|
||||
},
|
||||
{
|
||||
"name": "Qt5_DIR",
|
||||
"value": "${workspaceRoot}\\Externals\\Qt\\Qt5.11.1\\5.11.1\\msvc2017_64\\lib\\cmake\\Qt5"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user