mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-18 19:39:43 +08:00
增加linux 远程调试--Visual Studio 2022
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@
|
|||||||
/.vs
|
/.vs
|
||||||
/build_d
|
/build_d
|
||||||
/html/.idea
|
/html/.idea
|
||||||
|
/out
|
||||||
|
@ -4,9 +4,7 @@
|
|||||||
"name": "x64-Debug",
|
"name": "x64-Debug",
|
||||||
"generator": "Ninja",
|
"generator": "Ninja",
|
||||||
"configurationType": "Debug",
|
"configurationType": "Debug",
|
||||||
"inheritEnvironments": [
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||||
"msvc_x64_x64"
|
|
||||||
],
|
|
||||||
"buildRoot": "${workspaceRoot}/build_d",
|
"buildRoot": "${workspaceRoot}/build_d",
|
||||||
"installRoot": "${workspaceRoot}/build_d",
|
"installRoot": "${workspaceRoot}/build_d",
|
||||||
"cmakeCommandArgs": "",
|
"cmakeCommandArgs": "",
|
||||||
@ -17,14 +15,32 @@
|
|||||||
"name": "x64-Release",
|
"name": "x64-Release",
|
||||||
"generator": "Ninja",
|
"generator": "Ninja",
|
||||||
"configurationType": "Release",
|
"configurationType": "Release",
|
||||||
"inheritEnvironments": [
|
"inheritEnvironments": [ "msvc_x64_x64" ],
|
||||||
"msvc_x64_x64"
|
|
||||||
],
|
|
||||||
"buildRoot": "${workspaceRoot}/build_r",
|
"buildRoot": "${workspaceRoot}/build_r",
|
||||||
"installRoot": "${workspaceRoot}/build_r",
|
"installRoot": "${workspaceRoot}/build_r",
|
||||||
"cmakeCommandArgs": "",
|
"cmakeCommandArgs": "",
|
||||||
"buildCommandArgs": "-v",
|
"buildCommandArgs": "-v",
|
||||||
"ctestCommandArgs": ""
|
"ctestCommandArgs": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Linux-GCC-Debug",
|
||||||
|
"generator": "Unix Makefiles",
|
||||||
|
"configurationType": "Debug",
|
||||||
|
"cmakeExecutable": "/opt/cmake/bin/cmake",
|
||||||
|
"remoteCopySourcesExclusionList": [ ".vs", ".git", "out" ],
|
||||||
|
"cmakeCommandArgs": "-- -j4",
|
||||||
|
"buildCommandArgs": "",
|
||||||
|
"ctestCommandArgs": "",
|
||||||
|
"inheritEnvironments": [ "linux_arm" ],
|
||||||
|
"intelliSenseMode": "linux-gcc-x64",
|
||||||
|
"remoteMachineName": "948173717;172.16.0.232 (username=root, port=22, authentication=Password)",
|
||||||
|
"remoteCMakeListsRoot": "/home/pi/SIF0/src",
|
||||||
|
"remoteBuildRoot": "/home/pi/SIF0/out/build_d/${name}",
|
||||||
|
"remoteInstallRoot": "/home/pi/SIF0/out/install/${name}",
|
||||||
|
"remoteCopySources": true,
|
||||||
|
"rsyncCommandArgs": "-t --delete --delete-excluded",
|
||||||
|
"remoteCopyBuildOutput": true,
|
||||||
|
"remoteCopySourcesMethod": "rsync"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -5,7 +5,7 @@ set(CMAKE_AUTOMOC ON)
|
|||||||
set(CMAKE_AUTOUIC ON)
|
set(CMAKE_AUTOUIC ON)
|
||||||
set(CMAKE_AUTORCC ON)
|
set(CMAKE_AUTORCC ON)
|
||||||
set(QT Core Network WebSockets SerialPort Widgets)
|
set(QT Core Network WebSockets SerialPort Widgets)
|
||||||
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
find_package(Qt5 REQUIRED ${QT})
|
find_package(Qt5 REQUIRED ${QT})
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user