MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0010589 | CMake | CMake | public | 2010-04-21 18:06 | 2010-07-13 09:21 | ||||||||||
Reporter | Ben Medina | ||||||||||||||
Assigned To | |||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||||
Status | closed | Resolution | fixed | ||||||||||||
Platform | OS | OS Version | |||||||||||||
Product Version | CMake-2-8 | ||||||||||||||
Target Version | Fixed in Version | ||||||||||||||
Summary | 0010589: Spurious re-running of CMake in VS2010 Qt-based projects | ||||||||||||||
Description | When building a Qt-based project using Visual Studio 2010, CMake will be re-run during the build, triggering a prompt to reload the solution. I've seen this in my own app, ParaView, and the QtTest sample from the CMake wiki. To reproduce: 1. Download the QtTest app from here: http://www.itk.org/Wiki/BundleUtilitiesExample [^] 2. Run CMake with the VS2010 generator. I'm using the CMake nightly from 04/20/2010. 3. Launch VS2010, and build the project. Expected result: Project builds without error. This is the case when the project is built with the VS2008 generator. Actual result: CMake is re-run during the build: 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------ 1> Checking Build System 1> CMake does not need to re-run because CMakeFiles/generate.stamp is up-to-date. 2>------ Build started: Project: QtTest, Configuration: Debug Win32 ------ 2> Generating moc_TestForm.cxx 2> Generating ui_TestForm.h 2> Building Custom Rule C:/Users/ben/Desktop/QtTest/CMakeLists.txt 2> CMake is re-running because C:\Program Files (x86)\CMake 2.9\CMakeFiles\generate.stamp dependency file is missing. 2> -- Configuring done 2> -- Generating done 2> -- Build files have been written to: C:/Users/ben/Desktop/QtTest/win32-vs2010 2> main.cpp 2> TestForm.cpp 2> moc_TestForm.cxx 2> Generating Code... You'll be prompted to reload the solution, and then the build will complete successfully. Then, you'll be prompted to reload each project in the solution (and their filter files). | ||||||||||||||
Steps To Reproduce | |||||||||||||||
Additional Information | If you don't want to build Qt with VS2010, you can use the VS2008-built Qt. The problem occurs with either version. | ||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | |||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2010-04-21 18:06 | Ben Medina | New Issue | |||||||||||||
2010-04-22 04:22 | Rolf Eike Beer | Note Added: 0020344 | |||||||||||||
2010-04-22 12:48 | Ben Medina | Note Added: 0020352 | |||||||||||||
2010-05-14 18:21 | David Cole | Relationship added | related to 0010481 | ||||||||||||
2010-05-14 18:22 | David Cole | Relationship added | related to 0010502 | ||||||||||||
2010-06-12 08:34 | alexk | Note Added: 0020997 | |||||||||||||
2010-06-30 15:50 | Ben Medina | Note Added: 0021203 | |||||||||||||
2010-07-13 09:21 | Bill Hoffman | Status | new => closed | ||||||||||||
2010-07-13 09:21 | Bill Hoffman | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|