[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Globulation for OSX binary (and build patch)
From: |
Kyle Lutze |
Subject: |
Re: [glob2-devel] Globulation for OSX binary (and build patch) |
Date: |
Fri, 28 Mar 2008 23:14:15 -0700 |
User-agent: |
Thunderbird 2.0.0.12 (Macintosh/20080213) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ethan Tira-Thompson wrote:
| I got the source from mercurial and see that you merged some of the
| changes from the first patch to SConstruct. Here's an updated
patch to
| fix the remaining issues...
|
| * list CFLAGS in options list at the top (mostly for
documentation,
| took me a while to figure out that CFLAGS would be used for
| CheckCHeader calls (not CXXFLAGS) � might want to just
switch over
| to using CheckCXXHeader everywhere instead...?)
| * the osx setting is now automatically detected by checking
sys.platform
| * check boost/thread/thread.hpp first once, then select between
| libboost_thread and libboost_thread-mt (no particularly good
| reason, just easier to tell what went wrong if something
goes wrong)
| * skip the GL/GLU checks altogether on OS X (I think we'd
still want
| to use the system '-framework OpenGL' even if we somehow
found the
| GL/GLU headers...)
| * fixed '-framework OpenGL' specification � it's a link flag, and
| should be done as a list (otherwise it passes as quoted single
| argument to gcc instead of two separate arguments)
|
|
| TODO:
| HAVE_OPENGL is not currently being set on OS X... should it be? That
| flag doesn't currently seem to be used anywhere except a no-opt ifdef
| in src/SettingsScreen.cpp
|
| -ethan
I know this was a while ago, and so were the scons changes that I
made, but I can't remember if you checked them out or not to see how
it works in leopard. Tiger I can create a working binary that has
been tested with several other people but I know Leopard brought
along a ton of changes.
should be scons, then re-run as scons release=1, second time will
create the .app and encapsulate it into a .dmg. It'll be changed
soon to use targets instead of relying on env variables, but it's a
start.
Kyle
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkft3jcACgkQVFIipMnXxfZbvgCfZSGdSETARDcvw+ypnPya1uCV
aWUAnRqCJTQtaH+axIPjv21nK15FjqJ9
=t9Ss
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [glob2-devel] Globulation for OSX binary (and build patch),
Kyle Lutze <=