2011/6/6 Campbell Barton <ideasma...@gmail.com>:
> Hi, A handful of times I would have found it useful to run cmake
> without having to be in the build dir, mostly there is some way to
> change the CWD or write a shell wrapper, nevertheless it could still
> be useful when launching builds from scripts or more limited
> environments.
>
> Is there some way to do this?:
> cmake /some/source/dir /some/build/dir
>
> ... rather than
> cd /some/source/dir ; cmake /some/build/dir

you mean
cd /some/build/dir ; cmake /some/source/dir

The first time you need to be in the build tree but
afterwards you may do

cmake  /some/build/dir



-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to