Build notes?
Posted: Thu Apr 18, 2013 6:28 pm
Hi,
I see the contribution page still doesn't have any hints on compiling, so I hope asking here is not out of bounds. And maybe it is because I am going outside of the "engine" and into IDE territory I think... But I would like to be able to build from the source and understand the parts before digging into things much deeper.
I managed to get my environment and files so that I can compile against the 10.6 SDK on my 10.8 machine. I can run a build from the main stage.xcodeproj file without errors. Actually, I built it from the terminal with this:
xcodebuild -arch i386 -sdk macosx10.6 -project stage.xcodeproj GCC_VERSION=com.apple.compilers.llvmgcc42 CC=llvm-gcc-4.2
That way I didn't have to tweak the xcconfig files.
However the resulting .app bundle doesn't launch because the Toolset directory [and others] are not installed in the right place in the app bundle, at least from what I can see, and the .setup.txt file which contains information about all the files in the bundle is missing. Basically, the generated app bundle from stage.xcodeproj doesn't have all the pieces the distributed .app bundle does, so there are steps I am missing.
So, is there a short set of notes somewhere about what the build process should be to generate a working .app bundle from the git repo for the community release?
I see the contribution page still doesn't have any hints on compiling, so I hope asking here is not out of bounds. And maybe it is because I am going outside of the "engine" and into IDE territory I think... But I would like to be able to build from the source and understand the parts before digging into things much deeper.
I managed to get my environment and files so that I can compile against the 10.6 SDK on my 10.8 machine. I can run a build from the main stage.xcodeproj file without errors. Actually, I built it from the terminal with this:
xcodebuild -arch i386 -sdk macosx10.6 -project stage.xcodeproj GCC_VERSION=com.apple.compilers.llvmgcc42 CC=llvm-gcc-4.2
That way I didn't have to tweak the xcconfig files.
However the resulting .app bundle doesn't launch because the Toolset directory [and others] are not installed in the right place in the app bundle, at least from what I can see, and the .setup.txt file which contains information about all the files in the bundle is missing. Basically, the generated app bundle from stage.xcodeproj doesn't have all the pieces the distributed .app bundle does, so there are steps I am missing.

So, is there a short set of notes somewhere about what the build process should be to generate a working .app bundle from the git repo for the community release?