the bin
folder inside build/Debug
is generated in local environment (in vscode) by building the project using ctl+shift+b.
like that in below image using
command:
cmake -B ${workspaceFolder}/X2/build/Debug -S ${workspaceFolder}/X2 -DCMAKE_BUILD_TYPE=Debug;cmake --build ${workspaceFolder}/X2/build/Debug -j8
Now when the same command:
cmake -B build/Debug -DCMAKE_BUILD_TYPE=Debug; cmake --build build/Debug -j8
I am executing in bash script the bin
folder under build/Debug
is not generating. Why this happening??
bash script file:
#!/bin/bash
# Set the library output path
LIBRARY_OUTPUT_PATH="${PWD}/Local_Build/Lib"
# Create the output directory if it doesn't exist
mkdir -p "${LIBRARY_OUTPUT_PATH}"
pwd
cmake -B build/Debug -DCMAKE_BUILD_TYPE=Debug; cmake --build build/Debug -j8
I need help.
You need to sign in to view this answers