while executing cmake command it gives me the following error
“Current working directory cannot be established.”
I have executed cmake command from the shell script.
rm -rf build && mkdir -p build && cd build &&
cmake -DCMAKE_TOOLCHAIN_FILE=…/toolchain.cmake … 2>> output_file.txt && make clean && make 2>> output_file.txt && cd …
Let me know if you need more information.