I think the practice,with both cmake and ccmake, is to invoke cmake
inside the directory you want the output.  So a typical drill is

mkdir mybuilddir
cd mybuilddir
ccmake mysourcedir

I use CMakeSetup all the time so this isn't an issue to me.  Debates
about making cmake more command line friendly appear from time to
time.  I'll let others debate the merits of this one.  I do note that
when I typed "cmake --help" it wasn't entirely clear to me where I'd
specify an output directory, or if I would.  I just happen to know the
expected usage.  I would say that (c)cmake --help is under-documented
on this point.

Cheers,
Brandon Van Every


On Dec 12, 2007 8:08 PM, Jesse Corrington <[EMAIL PROTECTED]> wrote:
> When running CMake from the command line, how can I specify the directory to
> put the output files in. Thanks.
>
> Jesse
>
> _______________________________________________
> CMake mailing list
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to