[CMake] cmakesetup launch discrepancy

Aleksander Demko ademko at gmail.com
Wed Sep 24 12:47:35 EDT 2008


On Wed, Sep 24, 2008 at 11:28 AM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> 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.

cmake-gui does the right thing, and I'll use that from now anyways. I
didn't realize cmake-gui was the replacement (even though I run it
sometimes under Linux).

I almost never specify the build directory, for cmake or ccmake, too.
It seems to always chose '.', which is what I want anyways.


More information about the CMake mailing list