On Fri, Feb 19, 2010 at 8:46 AM, Brad King <[email protected]> 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 _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
