From 7dc5aa9dfda79468a0823e9cd6bd7cb0b53900c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Wed, 6 Apr 2022 12:16:45 -0400 Subject: [PATCH] build/dev: build in build_dev --- .gitignore | 1 + .vscode/launch.json | 8 ++++---- .vscode/tasks.json | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 4766819f..fd367eaa 100644 --- a/.gitignore +++ b/.gitignore @@ -76,4 +76,5 @@ doc/Doxyfile # build dir build +build_dev .DS_Store diff --git a/.vscode/launch.json b/.vscode/launch.json index 29749548..7d00aed7 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,9 +5,9 @@ "name": "dhtnode", "type": "cppdbg", "request": "launch", - "program": "${workspaceFolder}/build/tools/dhtnode", + "program": "${workspaceFolder}/build_dev/tools/dhtnode", "args": ["-v", "-p", "4222"], - "cwd": "${workspaceFolder}/build", + "cwd": "${workspaceFolder}/build_dev", "environment": [], "setupCommands": [ { @@ -30,8 +30,8 @@ "name": "tests", "type": "cppdbg", "request": "launch", - "program": "${workspaceFolder}/build/opendht_unit_tests", - "cwd": "${workspaceFolder}/build", + "program": "${workspaceFolder}/build_dev/opendht_unit_tests", + "cwd": "${workspaceFolder}/build_dev", "environment": [], "setupCommands": [ { diff --git a/.vscode/tasks.json b/.vscode/tasks.json index e8574d91..f7cfc5f4 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -5,7 +5,7 @@ "label": "build", "type": "shell", "options": { - "cwd": "${workspaceRoot}/build" + "cwd": "${workspaceRoot}/build_dev" }, "command": "make", "args": ["-j4"], @@ -15,7 +15,7 @@ "label": "cmake", "type": "shell", "options": { - "cwd": "${workspaceRoot}/build" + "cwd": "${workspaceRoot}/build_dev" }, "command": "cmake", "args": [ @@ -37,7 +37,7 @@ "command": "mkdir", "args": [ "-p", - "${workspaceRoot}/build" + "${workspaceRoot}/build_dev" ] }, ] -- GitLab