Skip to content

Commit

Permalink
* Generated a new Xcode project with the 0.8 project generator
Browse files Browse the repository at this point in the history
* Changed the Xcode compile options for a few files to be objective c insead of c++ as per ofZach’s advice here - #60
  • Loading branch information
sheridanis committed Jan 21, 2014
1 parent cf70ad4 commit 44d8e93
Show file tree
Hide file tree
Showing 9 changed files with 945 additions and 2 deletions.
57 changes: 57 additions & 0 deletions .gitignore
Expand Up @@ -15,3 +15,60 @@ exampleMultipleGraphicCards/ofxFensterExample.xcodeproj/phwhitfield.mode1v3
xcuserdata

*/phwhitfield.*
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/GLUT
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Headers
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Resources
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/GLUT
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/copy.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/extrude.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glsmap.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glsmapint.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glut.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glutbitmap.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glutf90.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/glutstroke.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/gutil.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/intersect.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/port.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/rot.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/segment.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/tube.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/tube_gc.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Headers/vvector.h
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/Caution.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUT.nib/classes.nib
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUT.nib/info.nib
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUT.nib/objects.nib
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTClipboard.nib/classes.nib
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTClipboard.nib/info.nib
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTClipboard.nib/objects.nib
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTPreferences.nib/classes.nib
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTPreferences.nib/info.nib
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTPreferences.nib/objects.nib
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/GLUTUI.strings
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/English.lproj/InfoPlist.strings
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/Info.plist
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/blankCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/bottomCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/bottomleftCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/bottomrightCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/crossCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/cycleCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/destroyCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/fingerCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/helpCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/leftCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/leftRightCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/rightArrowCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/rightCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/sprayCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/topCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/topleftCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/toprightCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/upDownCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/A/Resources/waitCursor.tiff
example/bin/exampleDebug.app/Contents/Frameworks/GLUT.framework/Versions/Current
example/bin/exampleDebug.app/Contents/Info.plist
example/bin/exampleDebug.app/Contents/MacOS/exampleDebug
example/bin/exampleDebug.app/Contents/PkgInfo
example/bin/exampleDebug.app/Contents/Resources/icon-debug.icns
17 changes: 17 additions & 0 deletions example/Project.xcconfig
@@ -0,0 +1,17 @@
//THE PATH TO THE ROOT OF OUR OF PATH RELATIVE TO THIS PROJECT.
//THIS NEEDS TO BE DEFINED BEFORE CoreOF.xcconfig IS INCLUDED
OF_PATH = ../../..

//THIS HAS ALL THE HEADER AND LIBS FOR OF CORE
#include "../../../libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig"

//ICONS - NEW IN 0072
ICON_NAME_DEBUG = icon-debug.icns
ICON_NAME_RELEASE = icon.icns
ICON_FILE_PATH = $(OF_PATH)/libs/openFrameworksCompiled/project/osx/

//IF YOU WANT AN APP TO HAVE A CUSTOM ICON - PUT THEM IN YOUR DATA FOLDER AND CHANGE ICON_FILE_PATH to:
//ICON_FILE_PATH = bin/data/

OTHER_LDFLAGS = $(OF_CORE_LIBS)
HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS)
5 changes: 3 additions & 2 deletions example/config.make
Expand Up @@ -70,12 +70,13 @@
# (default) PROJECT_LDFLAGS = -Wl,-rpath=./libs
#
# Note: Leave a leading space when adding list items with the += operator
#
################################################################################

# Currently, shared libraries that are needed are copied to the
# $(PROJECT_ROOT)/bin/libs directory. The following LDFLAGS tell the linker to
# add a runtime path to search for those shared libraries, since they aren't
# incorporated directly into the final executable application binary.
################################################################################
# TODO: should this be a default setting?
# PROJECT_LDFLAGS=-Wl,-rpath=./libs

################################################################################
Expand Down

0 comments on commit 44d8e93

Please sign in to comment.