rust 适配linux

This commit is contained in:
xin
2025-06-30 17:04:27 +08:00
parent 2492e4b650
commit 7efa0e210b
16 changed files with 45 additions and 455 deletions

View File

@ -1,69 +0,0 @@
{
"configurations" :
[
{
"directories" :
[
{
"build" : ".",
"jsonFile" : "directory-.-Release-d0094a50bb2071803777.json",
"minimumCMakeVersion" :
{
"string" : "3.5"
},
"projectIndex" : 0,
"source" : ".",
"targetIndexes" :
[
0,
1
]
}
],
"name" : "Release",
"projects" :
[
{
"directoryIndexes" :
[
0
],
"name" : "is11lib",
"targetIndexes" :
[
0,
1
]
}
],
"targets" :
[
{
"directoryIndex" : 0,
"id" : "iris_is3lib::@6890427a1f51a3e7e1df",
"jsonFile" : "target-iris_is3lib-Release-809ada2de128dea0b7c9.json",
"name" : "iris_is3lib",
"projectIndex" : 0
},
{
"directoryIndex" : 0,
"id" : "is3test::@6890427a1f51a3e7e1df",
"jsonFile" : "target-is3test-Release-03808b43dfa2721e6d2c.json",
"name" : "is3test",
"projectIndex" : 0
}
]
}
],
"kind" : "codemodel",
"paths" :
{
"build" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/project/is3/cmake-build-release-visual-studio",
"source" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/project/is3"
},
"version" :
{
"major" : 2,
"minor" : 7
}
}

View File

@ -1,189 +0,0 @@
{
"artifacts" :
[
{
"path" : "iris_is3lib.dll"
},
{
"path" : "iris_is3lib.lib"
},
{
"path" : "iris_is3lib.pdb"
}
],
"backtrace" : 2,
"backtraceGraph" :
{
"commands" :
[
"_add_library",
"add_library",
"include_directories"
],
"files" :
[
"E:/01MyCode/vcpkg/vcpkgclion/scripts/buildsystems/vcpkg.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 1
},
{
"command" : 1,
"file" : 1,
"line" : 21,
"parent" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 639,
"parent" : 1
},
{
"command" : 2,
"file" : 1,
"line" : 15,
"parent" : 0
},
{
"command" : 2,
"file" : 1,
"line" : 17,
"parent" : 0
},
{
"command" : 2,
"file" : 1,
"line" : 18,
"parent" : 0
},
{
"command" : 2,
"file" : 1,
"line" : 19,
"parent" : 0
},
{
"command" : 2,
"file" : 1,
"line" : 20,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "/MT /MD /O2 /Ob2 /DNDEBUG"
}
],
"defines" :
[
{
"define" : "iris_is3lib_EXPORTS"
}
],
"includes" :
[
{
"backtrace" : 3,
"path" : "E:/01MyCode/vcpkg/vcpkgclion/installed/x64-windows/include"
},
{
"backtrace" : 4,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/project/is3/../../src/test"
},
{
"backtrace" : 5,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/project/is3/../../src/IRIS_IS3"
},
{
"backtrace" : 6,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/project/is3/../../src/comman"
},
{
"backtrace" : 7,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/project/is3/../../src/thirdpart/iris_proto_tool/src"
}
],
"language" : "CXX",
"sourceIndexes" :
[
0,
1,
2,
3
]
}
],
"id" : "iris_is3lib::@6890427a1f51a3e7e1df",
"link" :
{
"commandFragments" :
[
{
"fragment" : "/machine:x64 /INCREMENTAL:NO",
"role" : "flags"
},
{
"fragment" : "kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib",
"role" : "libraries"
}
],
"language" : "CXX"
},
"name" : "iris_is3lib",
"nameOnDisk" : "iris_is3lib.dll",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0,
1,
2,
3
]
}
],
"sources" :
[
{
"backtrace" : 2,
"compileGroupIndex" : 0,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/src/thirdpart/iris_proto_tool/src/IRIS_Method.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 2,
"compileGroupIndex" : 0,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/src/IRIS_IS3/SensorIS3.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 2,
"compileGroupIndex" : 0,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/src/IRIS_IS3/IS3_INST.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 2,
"compileGroupIndex" : 0,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/src/IRIS_IS3/IS3Comon.cpp",
"sourceGroupIndex" : 0
}
],
"type" : "SHARED_LIBRARY"
}

View File

@ -1,184 +0,0 @@
{
"artifacts" :
[
{
"path" : "is3test.exe"
},
{
"path" : "is3test.pdb"
}
],
"backtrace" : 2,
"backtraceGraph" :
{
"commands" :
[
"_add_executable",
"add_executable",
"target_link_libraries",
"include_directories"
],
"files" :
[
"E:/01MyCode/vcpkg/vcpkgclion/scripts/buildsystems/vcpkg.cmake",
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 1
},
{
"command" : 1,
"file" : 1,
"line" : 32,
"parent" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 598,
"parent" : 1
},
{
"command" : 2,
"file" : 1,
"line" : 36,
"parent" : 0
},
{
"command" : 3,
"file" : 1,
"line" : 15,
"parent" : 0
},
{
"command" : 3,
"file" : 1,
"line" : 17,
"parent" : 0
},
{
"command" : 3,
"file" : 1,
"line" : 18,
"parent" : 0
},
{
"command" : 3,
"file" : 1,
"line" : 19,
"parent" : 0
},
{
"command" : 3,
"file" : 1,
"line" : 20,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"fragment" : "/MT /MD /O2 /Ob2 /DNDEBUG"
}
],
"includes" :
[
{
"backtrace" : 4,
"path" : "E:/01MyCode/vcpkg/vcpkgclion/installed/x64-windows/include"
},
{
"backtrace" : 5,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/project/is3/../../src/test"
},
{
"backtrace" : 6,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/project/is3/../../src/IRIS_IS3"
},
{
"backtrace" : 7,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/project/is3/../../src/comman"
},
{
"backtrace" : 8,
"path" : "D:/06Learn/rust/tarui/myfirst_tauri/myis11/project/is3/../../src/thirdpart/iris_proto_tool/src"
}
],
"language" : "CXX",
"sourceIndexes" :
[
0
]
}
],
"dependencies" :
[
{
"backtrace" : 3,
"id" : "iris_is3lib::@6890427a1f51a3e7e1df"
}
],
"id" : "is3test::@6890427a1f51a3e7e1df",
"link" :
{
"commandFragments" :
[
{
"fragment" : "/MT /MD /O2 /Ob2 /DNDEBUG",
"role" : "flags"
},
{
"fragment" : "/machine:x64 /INCREMENTAL:NO /subsystem:console",
"role" : "flags"
},
{
"backtrace" : 3,
"fragment" : "iris_is3lib.lib",
"role" : "libraries"
},
{
"backtrace" : 3,
"fragment" : "E:\\01MyCode\\vcpkg\\vcpkgclion\\installed\\x64-windows\\lib\\libcserialport.lib",
"role" : "libraries"
},
{
"fragment" : "kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib",
"role" : "libraries"
}
],
"language" : "CXX"
},
"name" : "is3test",
"nameOnDisk" : "is3test.exe",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0
]
}
],
"sources" :
[
{
"backtrace" : 2,
"compileGroupIndex" : 0,
"path" : "testmain.cpp",
"sourceGroupIndex" : 0
}
],
"type" : "EXECUTABLE"
}