User Tools

Site Tools


en:tutorials:orx:mac:xcode4-consoleless-resources

This is an old revision of the document!


Compiling and Building ORX

Orx project uses premake. If you cannot find project files for your favorite IDE you may be able to generate these files with premake. You can find premake in /extern/premake subdirectory of orx project tree.

Console-less Application on OS X

OS X application bundle must be built to run in console-less mode. Application bundle is a directory with .app extension. Here is a directory structure that worked for me:

Sample.app (directory content)
Contents\
Contents\Info.plist
Contents\MacOS\Sample  (executable file)
Contents\MacOS\Sample.ini (orx INI file)
Contents\MacOS\liborxd.dylib (orx dll)
Contents\MacOS\resources\  (app specific resources directory, specified in INI)

You don't have to start from scratch. Simply create a Cocoa application from Xcode. Take its Info.plist file content and modify the content to match your needs.

Some of the parameters like Principal Class don't apply. I removed “Principal Class” and application still worked.

en/tutorials/orx/mac/xcode4-consoleless-resources.1369267710.txt.gz · Last modified: 2017/05/30 00:50 (7 years ago) (external edit)