[Qgis-developer] Time to retire OS X Xcode project
John C. Tull
jctull at gmail.com
Wed Nov 10 15:52:42 EST 2010
I've not been monitoring the list lately. Feel free to contact me offline if you want to compare notes on cmake builds, although you are probably all caught up with my level of knowledge already. FWIW, this is the cmake command I run when building with your frameworks.
cmake -D BINDINGS_GLOBAL_INSTALL=on\
-D CMAKE_BUILD_TYPE=Release -D SIP_BINARY_PATH=/usr/local/bin/sip\
-D GRASS_INCLUDE_DIR=/Applications/GRASS-6.4.app/Contents/MacOS/include ..
You may have run into the quirky issues with qwt by now. That, of course, is not a qgis issue but qwt. I still have not managed to build qwt in a manner that does not require the install_name_tool command.
I'm glad to know you will be continuing to help out with qgis. I started to panic when I first started reading your email.
On Oct 28, 2010, at 3:57 PM, William Kyngesburye wrote:
> It's been a bit (lot?) of work maintaining sync with the cmake build. Other problems with it (both new and from day 1):
> - non-user-friendly configuration (hand-edit a file!), though I had an idea to patch in configuration from cmake
> - no automatic optional target compilation - if you didn't want or didn't have the support for an optional plugin or feature, you had to build individual targets
> - the dependency tracking of Xcode never worked right for custom compile rules (moc, rcc,...) so recompiling a partially-compiled source or after changes to sources always recompiled those with custom rules, even if they didn't change
> - the builtin yacc/lex rules don't work right, and custom rules are cranky, which leads to the final straw today when trying to add a new yacc/lex pair for the raster calculator change - failure
> Not to fear! I've taken the plunge into cmake and have been working on a cmake overhaul for the OS X build. I was going to wait for after the sudden 1.6 release, but since I'm not having luck with yacc/lex in Xcode I should have at least the core changes done for 1.6 (up to bundling Qt frameworks is done now, but not in SVN yet).
> Part of the cmake overhaul is to make sure library linking is all fixed up (it's been a problem in the past). Another improvement is cleaner (and automatic) detection of my frameworks (needed for bundling to work). The main improvement is making the bundling steps part of the install.
> There may be a small delay for my binary packages for the 1.6 release while I finish the bundling scripts (or I figure out a hack in Xcode for the yacc/lex problem).
> Things I will miss from Xcode:
> - debugging in the Xcode GUI, though I haven't needed to set that up so far
> - nothing else really, Xcode/Cmake doesn't matter to me as long as it compiles QGIS and bundles everything needed for release
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> Theory of the Universe
> There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.
> -Hitchhiker's Guide to the Galaxy 2nd season intro
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
More information about the Qgis-developer