[CMake] CMake 2.8.1 RC 3 is ready to try

John Drescher drescherjm at gmail.com
Fri Feb 19 08:51:29 EST 2010


On Fri, Feb 19, 2010 at 8:46 AM, Brad King <brad.king at kitware.com> wrote:
> On 2/18/2010 4:35 PM, Ben Medina wrote:
>>
>> I just took it for a spin on the Windows side of my projects. It
>> worked flawlessly with VS2005 and VS2008.
>
> Great, thanks for trying it.
>
>> However, with VS2010, CMake is re-run in the middle of the build.
>
> Did this work in CMake 2.8.0?
>
> I tried some test cases that seem similar to yours but
> I was unable to reproduce this problem.  Perhaps the
> generate.stamp file is removed by whatever goes wrong
> with the Qt custom commands.
>
>> It happens as soon as I hit a
>> project that depends on Qt, and running of moc fails.
>
> [snip]
>>
>> Is there a way to tell what commands it's giving to moc?
>
> You can either open the build properties in the IDE to
> inspect the command lines, or ask the IDE to show more
> verbose output during the build:
>
>  Tools -> Options
>        -> Projects and Solutions
>        -> Build and Run
>        -> MSBuild project build output verbosity
>
> Please try to reproduce this problem in a small test case
> so that we can try it, fix it, and test it.
>

I have seen this problem (under visual studio 2005) with moc and
cmake-2.6.X versions on a few occasions however moving to cmake-2.8.0
I have not had that since.

John


More information about the CMake mailing list