Hi Michael Ellery
thank you for your reply.
> perhaps handle arguments as an array variable in bash - it?s a
> slightly saner way to deal with args with spaces:
>
> CMDLINE=(. -G"Unix Makefiles") && cmake "${CMDLINE[@]}?
Well i already got it working in bash when i wrote that. I have the
para
Hello Konstantin Tokarev,
thank you for your answer.
> Just write your scripts in decent language
Well, i know, there are more sophisticated languages than bash. But in our
environment here unfortunately there are reasons why we cannot use another
language. Please do not let us discuss why.
M
Hello,
the usual way to pass a generator string to the cmake executable on the
command line is:
cmake . -G"Unix Makefiles"
But when i have some bash scripting around it and try to hold the command
line arguments in a variable, the trouble begins...
export CMDLINE=". -G\"Unix Makefiles\