[CMake] CMake 2.8.1 RC 3 is ready to try

Brad King brad.king at kitware.com
Fri Feb 19 08:46:35 EST 2010


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.

Thanks,
-Brad


More information about the CMake mailing list