Skip to content

Commit daa5337

Browse files
updated .vscode files to build with new CMake
1 parent 2977980 commit daa5337

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Debug Yolo Model",
66
"type": "cppdbg",
77
"request": "launch",
8-
"program": "${workspaceFolder}/build/devel/lib/yolo_onnx_ros/yolo_onnx_ros", // Path to the executable
8+
"program": "${workspaceFolder}/build/devel/lib/yolo_onnx_ros/test_yolo_onnx_ros", // Path to the executable
99
"args": [], // Add any command-line arguments for your program here
1010
"stopAtEntry": false,
1111
"cwd": "${workspaceFolder}/build", // Set the working directory

.vscode/tasks.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"command": "cmake",
5151
"args": [
5252
"-DCMAKE_BUILD_TYPE=Debug",
53+
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
5354
"-S", "${workspaceFolder}/",
5455
"-B", "${workspaceFolder}/build"
5556
],
@@ -90,4 +91,4 @@
9091
}
9192

9293
]
93-
}
94+
}

0 commit comments

Comments
 (0)