添加vs的cmake的远程Linux配置参考
This commit is contained in:
		
							parent
							
								
									c1eaaf6eb9
								
							
						
					
					
						commit
						15e11adf67
					
				
							
								
								
									
										27
									
								
								vs.txt
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								vs.txt
									
									
									
									
									
								
							@ -7,3 +7,30 @@ https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-
 | 
			
		||||
 | 
			
		||||
[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 
 | 
			
		||||
 | 
			
		||||
远程配置参考:
 | 
			
		||||
{
 | 
			
		||||
  "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": []
 | 
			
		||||
    }
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user