Menu

#34 Update Xcode Project

open-accepted
nobody
None
5
2012-04-22
2012-04-21
No

This patch updates the Xcode project from git 93c3723da5b43403422bf2ea0d709d6ebb06f143.

It does the following:

- add/remove include files to the project since they moved
- add/remove the OGRE files to the project since they changed
- removes the _GLIBCXX defines since they are no longer used
- sets the compiler to LLVM GCC 4.2
- sets the SDK to Mac OS X 10.5 so it will build on 10.5 and 10.6
- removes the PPC-related VALID_ARCHS

This means it's set up for Mac OS X 10.5 and higher and will build a 32/64-bit universal lib by default.

I didn't touch any Boost-related stuff since I'm not using it, but it should be just a matter of updating the included libs with whatever version you have installed.

- Andy

Discussion

  • Andy Maloney

    Andy Maloney - 2012-04-21

    I was a bit premature with this patch. Still not working properly due to problems with assert.h, IFC, and the poly2tri lib.

    Don't know why the decision was made to replace <assert.h> by the lib's own "assert.h" - using standard file names like that causes havoc...

    Once I get things sorted out I will submit a better patch.

     
  • Andy Maloney

    Andy Maloney - 2012-04-22

    Xcode project file update [3rd try...]

     
  • Andy Maloney

    Andy Maloney - 2012-04-22

    OK - third time's the charm?

    After changing the assert stuff [see bug 3520178], this Xcode project now compiles. I've linked to a simple importer, and it runs for me, so I don't think it's missing any more files.

     
  • Alexander Gessler

    • status: open --> closed-accepted
     
  • Alexander Gessler

    Committed r1242. Please check if I got the ai_assert change right.

    Thanks for your xcode maintenance!

    Bye, Alex

     
  • Andy Maloney

    Andy Maloney - 2012-04-22

    > Please check if I got the ai_assert change right.

    Seems to be working fine for me.

    > Thanks for your xcode maintenance!

    No problem - I guess I'll check back in another 3 years :-)

    - Andy

     
  • Andy Maloney

    Andy Maloney - 2012-04-22
    • status: closed-accepted --> open-accepted