This is an automated email from the ASF dual-hosted git repository. bcall pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new 06ff161e88 Updated the vscode launch and tasks files to work with cmake (#11016) 06ff161e88 is described below commit 06ff161e88d1fa8c2575bb8d2599c28ead962ae6 Author: Bryan Call <bc...@apache.org> AuthorDate: Wed Feb 7 11:22:12 2024 -0800 Updated the vscode launch and tasks files to work with cmake (#11016) --- .vscode/launch.json | 2 +- .vscode/tasks.json | 17 +++++------------ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 8117283bbd..0e30cf0e7a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,7 +5,7 @@ "name": "(gdb) traffic_server", "type": "cppdbg", "request": "launch", - "program": "${workspaceFolder}/${env:ATS_VSCODE_BUILDDIR}/src/traffic_server/.libs/traffic_server", + "program": "${workspaceFolder}/${env:ATS_VSCODE_BUILDDIR}/src/traffic_server/traffic_server", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 0dc52a2ae6..d1c7fb878d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,24 +1,17 @@ { "version": "2.0.0", "tasks": [ - { - "label": "Autoreconf", - "type": "shell", - "command": "autoreconf -if", - "problemMatcher": [] - }, { "label": "Configure", "type": "shell", - "command": "mkdir ${workspaceFolder}/${env:ATS_VSCODE_BUILDDIR}; cd ${workspaceFolder}/${env:ATS_VSCODE_BUILDDIR}; ${workspaceFolder}/configure --prefix=${workspaceFolder}/target --enable-ccache --enable-experimental-plugins --enable-example-plugins --enable-test-tools --enable-debug --enable-werror ${env:ATS_VSCODE_CONFIGURE}", + "command": "cmake --preset ${env:ATS_VSCODE_PRESET}", "dependsOrder": "sequence", - "dependsOn": ["Autoreconf"], "problemMatcher": [] }, { "label": "Build", "type": "shell", - "command": "make -j 16 -C ${workspaceFolder}/${env:ATS_VSCODE_BUILDDIR}", + "command": "cmake --build --preset ${env:ATS_VSCODE_PRESET}", "problemMatcher": [ "$gcc" ], @@ -30,7 +23,7 @@ { "label": "Install", "type": "shell", - "command": "make -j 16 install -C ${workspaceFolder}/${env:ATS_VSCODE_BUILDDIR}", + "command": "cmake --install ${workspaceFolder}/${env:ATS_VSCODE_BUILDDIR}", "problemMatcher": [ "$gcc" ], @@ -38,7 +31,7 @@ { "label": "Test", "type": "shell", - "command": "make -j 8 test -C ${workspaceFolder}/${env:ATS_VSCODE_BUILDDIR}", + "command": "cmake --build --preset ${env:ATS_VSCODE_PRESET} --target test", "problemMatcher": [ "$gcc" ], @@ -50,7 +43,7 @@ { "label": "Full Build", "dependsOrder": "sequence", - "dependsOn": ["Configure", "Build", "Install"], + "dependsOn": ["Configure", "Build", "Test", "Install"], "problemMatcher": [ "$gcc" ]