[cmake-developers] [patch] Document -H and -B
Rolf Eike Beer
eike at sf-mail.de
Thu Jun 30 16:57:11 EDT 2016
Am Donnerstag, 30. Juni 2016, 23:54:42 schrieb Ruslan Baratov via cmake-
developers:
> On 30-Jun-16 23:40, Brad King wrote:
> > On 06/30/2016 04:28 PM, Ruslan Baratov wrote:
> >> On 30-Jun-16 23:18, Brad King wrote:
> >>> On 06/30/2016 03:56 PM, Ruslan Baratov wrote:
> >>>> What is the public-use way to specify source-tree and build-tree by
> >>>> cmake options simultaneously?
> >>>
> >>> cd $build && cmake $src
> >>
> >> Will not work if $build not exists.
> >
> > mkdir -p "$build" && cd "$build" && cmake "$src"
>
> Next issue is that this command change directory, how can I move back to
> the directory where I was working on?
pushd/popd or do the cd/cmake call in a subshell.
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160630/93cba750/attachment.sig>
More information about the cmake-developers
mailing list