From 15e11adf67c7429ae871ffa81677a76a1b054b2c Mon Sep 17 00:00:00 2001 From: taynpg Date: Mon, 24 Mar 2025 14:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0vs=E7=9A=84cmake=E7=9A=84?= =?UTF-8?q?=E8=BF=9C=E7=A8=8BLinux=E9=85=8D=E7=BD=AE=E5=8F=82=E8=80=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vs.txt | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/vs.txt b/vs.txt index 1fd4ccd..c63eb66 100644 --- a/vs.txt +++ b/vs.txt @@ -6,4 +6,31 @@ https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs- .\vs_BuildTools.exe --passive --wait --layout E:\vs2022\data --lang en-US --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --add Microsoft.VisualStudio.Component.VC.ATL Microsoft.VisualStudio.Component.VC.ATLMFC [vs] -VisualStudioSetup.exe --layout D:\Data\cplusplus_development_complete_vs2017_2024\data --lang zh-CN --add Microsoft.VisualStudio.Workload.NativeCrossPlat --includeRecommended --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended --add Microsoft.VisualStudio.Component.VC.ATL Microsoft.VisualStudio.Component.VC.ATLMFC Microsoft.VisualStudio.Component.VC.CLI.Support \ No newline at end of file +VisualStudioSetup.exe --layout D:\Data\cplusplus_development_complete_vs2017_2024\data --lang zh-CN --add Microsoft.VisualStudio.Workload.NativeCrossPlat --includeRecommended --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended --add Microsoft.VisualStudio.Component.VC.ATL Microsoft.VisualStudio.Component.VC.ATLMFC Microsoft.VisualStudio.Component.VC.CLI.Support + +远程配置参考: +{ + "configurations": [ + { + "name": "Linux-GCC-Debug", + "generator": "Ninja", + "configurationType": "Debug", + "cmakeExecutable": "cmake", + "remoteCopySourcesExclusionList": [ ".vs", "out" ], + "cmakeCommandArgs": "", + "buildCommandArgs": "", + "ctestCommandArgs": "", + "inheritEnvironments": [ "linux_x64" ], + "remoteMachineName": "${defaultRemoteMachineName}", + "remoteCMakeListsRoot": "$HOME/.vs/dirroot/xxx", + "remoteBuildRoot": "$HOME/.vs/dirroot/out/build/${name}", + "remoteInstallRoot": "$HOME/.vs/dirroot/out/install/${name}", + "remoteCopySources": true, + "rsyncCommandArgs": "-a -t --delete", + "remoteCopyBuildOutput": false, + "remoteCopySourcesOutputVerbosity": "Normal", + "remoteCopySourcesMethod": "rsync", + "variables": [] + } + ] +} \ No newline at end of file