-
Notifications
You must be signed in to change notification settings - Fork 502
Closed
Labels
Milestone
Description
Brief Issue Summary
The binaryDir
configured in the preset (CMakePresets.json) was deleted by git clean -dfx
or similar task and push button Build
shows error message:
[main] Building folder: repo
[build] Starting build
[proc] Executing command: /usr/bin/cmake --build /home/andre/git/repo/build/default-x86_64
[build] Error: /home/andre/git/repo/build/default-x86_64 is not a directory
[build] Build finished with exit code 1
Expected:
- Push
Build
- Configure is running automatically if
binaryDir
folder is not found - Build is started
OR
- Push
Build
- Message
[build] Error: /home/andre/git/repo/build/default-x86_64 is not a directory
appears - Push
Configure
and select same preset - Configure is running with preset
- Push
Build
- Build is started
Apparent Behavior:
- Push
Build
- Error is shown, see above,
[build] Error: /home/andre/git/repo/build/default-x86_64 is not a directory
- Select the configure preset again
- Configure is not executed (no output)
- Select the build preset again
- Push
Build
- Error is shown, see above,
[build] Error: /home/andre/git/repo/build/default-x86_64 is not a directory
Platform and Versions
- Operating System: WSL2 with Debian 11 Bullseye (VSCode running @ Windows 10 1909)
- CMake Version: 3.21.2
- VSCode Version: 1.60.0
- CMake Tools Extension Version: 1.8.1
- Compiler/Toolchain: gcc version 10.2.1 20210110 (Debian 10.2.1-6)