Re: [CMake] Double builds required in XCode w/CMake when changing UI code in QtDesigner

2009-04-30 Thread Daniel Blezek
Added a Qt note. On 4/30/09 9:48 AM, "Tobias Rudolph" wrote: > Seems like a duplicate of this one: > http://public.kitware.com/Bug/view.php?id=8833 > > > cheers, > Tobias > > > On 30 Apr 2009, at 16:40, Daniel Blezek wrote: > >> Thanks Bill, >> >> Here's the zip. >> >> mkdir QtBug-xcode

Re: [CMake] Double builds required in XCode w/CMake when changing UI code in QtDesigner

2009-04-30 Thread Tobias Rudolph
Seems like a duplicate of this one: http://public.kitware.com/Bug/view.php?id=8833 cheers, Tobias On 30 Apr 2009, at 16:40, Daniel Blezek wrote: Thanks Bill, Here's the zip. mkdir QtBug-xcode/ cd QtBug-xcode/ cmake -G Xcode ../QtBug open QtBug.xcodeproj/ Build with Command-B Modify Hello

Re: [CMake] Double builds required in XCode w/CMake when changing UI code in QtDesigner

2009-04-29 Thread Bill Hoffman
Daniel Blezek wrote: Hi Mike, Here is my actual add_executable call. add_executable ( Sumatra ${GUI_TYPE} ${SumatraSource} ${SumatraUISHeaders} ${SumatraMOCSource} ${SumatraResources} ) I may try swizzling the order around, Thanks, -dan Sounds like a bug. If you could create a very small

Re: [CMake] Double builds required in XCode w/CMake when changing UI code in QtDesigner

2009-04-29 Thread Daniel Blezek
Hi Mike, Here is my actual add_executable call. add_executable ( Sumatra ${GUI_TYPE} ${SumatraSource} ${SumatraUISHeaders} ${SumatraMOCSource} ${SumatraResources} ) I may try swizzling the order around, Thanks, -dan On 4/29/09 3:17 PM, "Michael Jackson" wrote: > You might try the following

Re: [CMake] Double builds required in XCode w/CMake when changing UI code in QtDesigner

2009-04-29 Thread Michael Jackson
You might try the following: add_executable ( Sumatra ${SumatrSources} ${SumatraUISHeaders} ) and see what happens. Here is a snippet from one of my own projects: # -- Run MOC and UIC on the necessary files QT4_ADD_RESOURCES( Generated_RC_SRCS ${ModelEditor_RCS} ) # this will run uic on .

[CMake] Double builds required in XCode w/CMake when changing UI code in QtDesigner

2009-04-29 Thread Daniel Blezek
Sorry if this has been discussed before, but I couldn¹t find anything in Google. When building with XCode and Qt, I have to build twice when I change my .ui files in QtDesigner. Apparently the build order is wrong? The first build re-generates the ui_*.h files, but doesn¹t trigger the dependenci