Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ResPath hpp to correctly resolve path for packaging within mac app Added build target for desteer for the mac
- Loading branch information
Showing
20 changed files
with
993 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<CodeBlocks_layout_file> | ||
<ActiveTarget name="Debug" /> | ||
<File name="include\desteer\behavior\ArriveBehavior.hpp" open="1" top="0" tabpos="2"> | ||
<File name="include/desteer/behavior/ArriveBehavior.hpp" open="1" top="0" tabpos="2"> | ||
<Cursor position="0" topLine="0" /> | ||
</File> | ||
<File name="source\ArriveBehavior.cpp" open="1" top="1" tabpos="1"> | ||
<File name="source/ArriveBehavior.cpp" open="1" top="1" tabpos="1"> | ||
<Cursor position="822" topLine="0" /> | ||
</File> | ||
</CodeBlocks_layout_file> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<CodeBlocks_layout_file> | ||
<ActiveTarget name="Debug" /> | ||
<File name="include/desteer/behavior/ArriveBehavior.hpp" open="1" top="0" tabpos="2"> | ||
<Cursor position="0" topLine="0" /> | ||
</File> | ||
<File name="source/ArriveBehavior.cpp" open="1" top="1" tabpos="1"> | ||
<Cursor position="822" topLine="0" /> | ||
</File> | ||
</CodeBlocks_layout_file> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
87 changes: 87 additions & 0 deletions
87
examples/ExampleWithIrrlicht/Example With Irrlicht.cbp.cbTemp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<CodeBlocks_project_file> | ||
<FileVersion major="1" minor="6" /> | ||
<Project> | ||
<Option title="Example With Irrlicht" /> | ||
<Option pch_mode="2" /> | ||
<Option compiler="gcc" /> | ||
<Build> | ||
<Target title="Win32"> | ||
<Option platforms="Windows;" /> | ||
<Option output="bin/Example With Irrlicht" prefix_auto="1" extension_auto="1" /> | ||
<Option working_dir="bin" /> | ||
<Option object_output="obj/Debug/" /> | ||
<Option type="1" /> | ||
<Option compiler="gcc" /> | ||
<Compiler> | ||
<Add option="-g" /> | ||
</Compiler> | ||
</Target> | ||
<Target title="Linux"> | ||
<Option platforms="Unix;" /> | ||
<Option output="bin/Example With Irrlicht" prefix_auto="1" extension_auto="1" /> | ||
<Option working_dir="bin" /> | ||
<Option object_output="obj/Debug/" /> | ||
<Option type="1" /> | ||
<Option compiler="gcc" /> | ||
<Compiler> | ||
<Add option="-g" /> | ||
</Compiler> | ||
<Linker> | ||
<Add option="-L/usr/X11R6/lib" /> | ||
<Add option="-L../../lib/Linux" /> | ||
<Add option="-lGL" /> | ||
<Add option="-lXxf86vm" /> | ||
<Add option="-lXext" /> | ||
<Add option="-lX11" /> | ||
<Add option="-ldl" /> | ||
<Add option="-lpthread" /> | ||
<Add library="../../../LikeMagic-All/irrlicht/lib/Linux/libIrrlicht.a" /> | ||
<Add library="../../lib/libdesteer.a" /> | ||
<Add library="../../../irrlicht/lib/Linux/libIrrlicht.a" /> | ||
</Linker> | ||
</Target> | ||
<Target title="Mac"> | ||
<Option platforms="Mac;" /> | ||
<Option output="bin/Mac/Example With Irrlicht" prefix_auto="1" extension_auto="1" /> | ||
<Option working_dir="bin" /> | ||
<Option object_output="obj/Debug-Mac/" /> | ||
<Option type="0" /> | ||
<Option compiler="apple_gcc" /> | ||
<Compiler> | ||
<Add option="-g" /> | ||
</Compiler> | ||
<Linker> | ||
<Add option="-L/usr/X11R6/lib" /> | ||
<Add option="-framework GLUT" /> | ||
<Add option="-framework OpenGL" /> | ||
<Add option="-framework Cocoa" /> | ||
<Add option="-framework IOKit" /> | ||
<Add option="-framework Carbon" /> | ||
<Add option="-lXxf86vm" /> | ||
<Add option="-lXext" /> | ||
<Add option="-lX11" /> | ||
<Add option="-ldl" /> | ||
<Add option="-lpthread" /> | ||
<Add library="../../lib/libdesteer-mac.a" /> | ||
<Add library="lib/irrlicht-mac/libIrrlicht_mac.a" /> | ||
</Linker> | ||
</Target> | ||
</Build> | ||
<Compiler> | ||
<Add option="-Wall" /> | ||
<Add directory="include" /> | ||
<Add directory="../../include" /> | ||
<Add directory="../irrlicht/include" /> | ||
</Compiler> | ||
<Unit filename="source/IrrlichtBaseEntity.hpp" /> | ||
<Unit filename="source/IrrlichtMobileEntity.cpp" /> | ||
<Unit filename="source/IrrlichtMobileEntity.hpp" /> | ||
<Unit filename="source/main.cpp" /> | ||
<Extensions> | ||
<code_completion /> | ||
<debugger /> | ||
<envvars /> | ||
</Extensions> | ||
</Project> | ||
</CodeBlocks_project_file> |
4 changes: 4 additions & 0 deletions
4
examples/ExampleWithIrrlicht/Example With Irrlicht.layout.cbTemp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | ||
<CodeBlocks_layout_file> | ||
<ActiveTarget name="Win32" /> | ||
</CodeBlocks_layout_file> |
8 changes: 8 additions & 0 deletions
8
examples/ExampleWithIrrlicht/Mac Example With Irrlicht/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.DS_Store | ||
*.swp | ||
*~.nib | ||
|
||
build/ | ||
|
||
*.xcodeproj/xcuserdata/ | ||
*.xcodeproj/project.xcworkspace/xcuserdata/ |
34 changes: 34 additions & 0 deletions
34
...Irrlicht/Mac Example With Irrlicht/Example With Irrlicht/Example With Irrlicht-Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>en</string> | ||
<key>CFBundleExecutable</key> | ||
<string>${EXECUTABLE_NAME}</string> | ||
<key>CFBundleIconFile</key> | ||
<string></string> | ||
<key>CFBundleIdentifier</key> | ||
<string>dropecho.studios.${PRODUCT_NAME:rfc1034identifier}</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>${PRODUCT_NAME}</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>${MACOSX_DEPLOYMENT_TARGET}</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>Copyright © 2011 MySelf. All rights reserved.</string> | ||
<key>NSMainNibFile</key> | ||
<string>MainMenu</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
</dict> | ||
</plist> |
7 changes: 7 additions & 0 deletions
7
...Irrlicht/Mac Example With Irrlicht/Example With Irrlicht/Example With Irrlicht-Prefix.pch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// | ||
// Prefix header for all source files of the 'Example With Irrlicht' target in the 'Example With Irrlicht' project | ||
// | ||
|
||
#ifdef __OBJC__ | ||
#import <Cocoa/Cocoa.h> | ||
#endif |
Oops, something went wrong.