[CMake] Building out of source

Robert Dailey rcdailey at gmail.com
Fri Dec 5 15:29:36 EST 2008


On Fri, Dec 5, 2008 at 12:44 PM, David Cole <david.cole at kitware.com> wrote:

> They are placed in the current directory. Run it from another directory and
> then give the path to the source tree, as in:
> checkout source tree to "source" directory
> mkdir build
> cd build
> cmake -G "Unix Makefiles" ../source
>
> In this example, source and build are siblings...
>


Apparently this does not work:

cmake -G "Visual Studio 9 2008" ..

The directory for my source is *C:\IT\source*
The directory I run CMake in is: *C:\IT\source\build*

Why does this not work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081205/6f26906f/attachment.htm>


More information about the CMake mailing list