123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- {
- "version": 2,
- "configurePresets": [
- {
- "name": "linux-default",
- "displayName": "Linux Debug",
- "description": "面向适用于 Linux 的 Windows 子系统(WSL)或远程 Linux 系统。",
- "generator": "Unix Makefiles",
- "binaryDir": "${sourceDir}/out/build/${presetName}",
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": "Debug",
- "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
- "SIMULATE_ON": {
- "value": "False",
- "type": "BOOL"
- },
- "BUILD_TESTING": "OFF",
- "BUILD_DEVADAPTER": "ON"
- },
- "vendor": {
- "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Linux" ] },
- "microsoft.com/VisualStudioRemoteSettings/CMake/1.0": { "sourceDir": "$env{HOME}/.vs/$ms{projectDirName}" }
- }
- },
- {
- "name": "linux-release",
- "displayName": "Linux Release",
- "description": "面向适用于 Linux 的 Windows 子系统(WSL)或远程 Linux 系统。",
- "generator": "Unix Makefiles",
- "binaryDir": "${sourceDir}/out/build/${presetName}",
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": "Release",
- "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
- "SIMULATE_ON": {
- "value": "False",
- "type": "BOOL"
- },
- "BUILD_TESTING": "OFF",
- "BUILD_DEVADAPTER": "ON"
- },
- "vendor": {
- "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Linux" ] },
- "microsoft.com/VisualStudioRemoteSettings/CMake/1.0": { "sourceDir": "$env{HOME}/.vs/$ms{projectDirName}" }
- }
- },
- {
- "name": "windows-default",
- "displayName": "Windows x64 Debug",
- "description": "面向具有 Visual Studio 开发环境的 Windows。",
- "generator": "Ninja",
- "binaryDir": "${sourceDir}/out/build/${presetName}",
- "architecture": {
- "value": "x64",
- "strategy": "external"
- },
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": "Debug",
- "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}"
- },
- "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } }
- }
- ]
- }
|