[CMake] cmakesetup launch discrepancy

Bill Hoffman bill.hoffman at kitware.com
Wed Sep 24 12:28:09 EDT 2008


Aleksander Demko wrote:
> The commands:
> 
> cmakesetup \src\mysource
> 
> and
> 
> cmakesetup c:\src\mysource
> 
> seem to do different things under XP (Cmake 2.6.1). The first version
> loads the last source/build directories, while the second version does
> the right thing: loads mysource as the source and . as the build.
> 
> Is this a bug or is there something more subtle here?

It is a bug, but really it should be:

cmakesetup src .

with cmake.exe you always have to specify the binary directory 
explicitly.  That change may not have made it into cmakesetup.  What 
does cmake-gui do?   At the end of the day, CMakeSetup will go away and 
be replaced with cmake-gui.

-Bill


More information about the CMake mailing list