diff --git a/.vscode/raycasting-engine.code-workspace b/.vscode/raycasting-engine.code-workspace index 675ff7c..60e6ce4 100644 --- a/.vscode/raycasting-engine.code-workspace +++ b/.vscode/raycasting-engine.code-workspace @@ -18,8 +18,16 @@ "type": "cppvsdbg", "request": "launch", "preLaunchTask": "CMake build Debug", - "program": "${workspaceFolder}/out/Debug/Debug/raycasting-engine-app.exe", - "cwd": "${workspaceFolder}/out/Debug/Debug", + "program": "${command:cmake.launchTargetPath}", + "cwd": "${workspaceFolder}", + "environment": [ + { + // add the directory where our target was built to the PATHs + // it gets resolved by CMake Tools: + "name": "PATH", + "value": "${env:PATH}:${command:cmake.getLaunchTargetDirectory}" + } + ], "requireExactSource": false, "console": "newExternalWindow" }, @@ -28,8 +36,16 @@ "type": "cppvsdbg", "request": "launch", "preLaunchTask": "CMake build Release", - "program": "${workspaceFolder}/out/Release/Release/raycasting-engine-app.exe", - "cwd": "${workspaceFolder}/out/Release/Release", + "program": "${command:cmake.launchTargetPath}", + "cwd": "${workspaceFolder}", + "environment": [ + { + // add the directory where our target was built to the PATHs + // it gets resolved by CMake Tools: + "name": "PATH", + "value": "${env:PATH}:${command:cmake.getLaunchTargetDirectory}" + } + ], "requireExactSource": false, "console": "newExternalWindow" }, @@ -38,8 +54,16 @@ "type": "cppdbg", "request": "launch", "preLaunchTask": "CMake build Debug", - "program": "${workspaceFolder}/out/Debug/raycasting-engine-app.exe", - "cwd": "${workspaceFolder}/out/Debug", + "program": "${command:cmake.launchTargetPath}", + "cwd": "${workspaceFolder}", + "environment": [ + { + // add the directory where our target was built to the PATHs + // it gets resolved by CMake Tools: + "name": "PATH", + "value": "${env:PATH}:${command:cmake.getLaunchTargetDirectory}" + } + ], "MIMode": "gdb", "miDebuggerPath": "gdb.exe", "externalConsole": true, @@ -57,8 +81,16 @@ "type": "cppdbg", "request": "launch", "preLaunchTask": "CMake build Release", - "program": "${workspaceFolder}/out/Release/raycasting-engine-app.exe", - "cwd": "${workspaceFolder}/out/Release", + "program": "${command:cmake.launchTargetPath}", + "cwd": "${workspaceFolder}", + "environment": [ + { + // add the directory where our target was built to the PATHs + // it gets resolved by CMake Tools: + "name": "PATH", + "value": "${env:PATH}:${command:cmake.getLaunchTargetDirectory}" + } + ], "MIMode": "gdb", "miDebuggerPath": "gdb.exe", "externalConsole": true, diff --git a/vcpkg b/vcpkg index f7423ee..f61a294 160000 --- a/vcpkg +++ b/vcpkg @@ -1 +1 @@ -Subproject commit f7423ee180c4b7f40d43402c2feb3859161ef625 +Subproject commit f61a294e765b257926ae9e9d85f96468a0af74e7