Permalink
Browse files

Merge pull request #1 from seanpaultaylor/master

Updated the build instructions and tests for BlackBerry NDK 1.0.
  • Loading branch information...
2 parents 381016e + 5b3b8d1 commit bc345f74f382fa55268a37affe3514e58d17fe40 @seanpaultaylor seanpaultaylor committed Oct 28, 2011
Showing with 3,632 additions and 16 deletions.
  1. +10 −6 .cproject
  2. +1 −1 Building.txt
  3. +474 −0 HelloWorld/.cproject
  4. +81 −0 HelloWorld/.project
  5. +106 −0 HelloWorld/bar-descriptor.xml
  6. BIN HelloWorld/icon.png
  7. +593 −0 Testbed/.cproject
  8. +77 −0 Testbed/.project
  9. +197 −0 Testbed/Framework/GLES-Render.cpp
  10. +53 −0 Testbed/Framework/GLES-Render.h
  11. +4 −0 Testbed/Framework/Test.cpp
  12. +11 −1 Testbed/Framework/Test.h
  13. +1 −0 Testbed/Tests/TestEntries.cpp
  14. +106 −0 Testbed/bar-descriptor.xml
  15. BIN Testbed/icon.png
  16. +659 −0 Testbed/qnx/bbmain.cpp
  17. +894 −0 Testbed/qnx/bbutil.cpp
  18. +130 −0 Testbed/qnx/bbutil.h
  19. +8 −0 qnx/Box2D/Makefile
  20. +8 −0 qnx/Box2D/arm/Makefile
  21. +1 −0 qnx/Box2D/arm/a.le.v7.g/Makefile
  22. +1 −0 qnx/Box2D/arm/a.le.v7/Makefile
  23. +26 −0 qnx/Box2D/common.mk
  24. +8 −0 qnx/Box2D/x86/Makefile
  25. +1 −0 qnx/Box2D/x86/a.g/Makefile
  26. +1 −0 qnx/Box2D/x86/a/Makefile
  27. +8 −0 qnx/HelloWorld/Makefile
  28. +8 −0 qnx/HelloWorld/arm/Makefile
  29. +5 −0 qnx/HelloWorld/arm/o.le.v7.g/Makefile
  30. +6 −0 qnx/HelloWorld/arm/o.le.v7/Makefile
  31. +35 −0 qnx/HelloWorld/common.mk
  32. +8 −0 qnx/HelloWorld/x86/Makefile
  33. +5 −0 qnx/HelloWorld/x86/o.g/Makefile
  34. +5 −0 qnx/HelloWorld/x86/o/Makefile
  35. +13 −8 qnx/Makefile
  36. +8 −0 qnx/Testbed/Makefile
  37. +8 −0 qnx/Testbed/arm/Makefile
  38. BIN qnx/Testbed/arm/o.le.v7.g/HelloWorld
  39. +5 −0 qnx/Testbed/arm/o.le.v7.g/Makefile
  40. BIN qnx/Testbed/arm/o.le.v7/HelloWorld
  41. +6 −0 qnx/Testbed/arm/o.le.v7/Makefile
  42. +43 −0 qnx/Testbed/common.mk
  43. +8 −0 qnx/Testbed/x86/Makefile
  44. BIN qnx/Testbed/x86/o.g/HelloWorld
  45. +5 −0 qnx/Testbed/x86/o.g/Makefile
  46. BIN qnx/Testbed/x86/o/HelloWorld
  47. +5 −0 qnx/Testbed/x86/o/Makefile
View
@@ -95,7 +95,10 @@
<listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/freetype2"/>
<listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
</option>
- <option id="com.qnx.qcc.option.compiler.qccoptions.1041788454" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions" valueType="stringList"/>
+ <option id="com.qnx.qcc.option.compiler.qccoptions.1041788454" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions"/>
+ <option id="com.qnx.qcc.option.compiler.ccoptions.1015591939" superClass="com.qnx.qcc.option.compiler.ccoptions" valueType="stringList">
+ <listOptionValue builtIn="false" value="-fPIC"/>
+ </option>
<inputType id="com.qnx.qcc.inputType.compiler.491501254" superClass="com.qnx.qcc.inputType.compiler"/>
</tool>
<tool id="com.qnx.qcc.tool.assembler.2075840612" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
@@ -153,7 +156,7 @@
<listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/freetype2"/>
<listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
</option>
- <option id="com.qnx.qcc.option.compiler.qccoptions.1619513121" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions" valueType="stringList"/>
+ <option id="com.qnx.qcc.option.compiler.qccoptions.1619513121" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions"/>
<inputType id="com.qnx.qcc.inputType.compiler.1236019198" superClass="com.qnx.qcc.inputType.compiler"/>
</tool>
<tool id="com.qnx.qcc.tool.assembler.368656697" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
@@ -214,7 +217,7 @@
<listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/freetype2"/>
<listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
</option>
- <option id="com.qnx.qcc.option.compiler.qccoptions.934660212" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions" valueType="stringList"/>
+ <option id="com.qnx.qcc.option.compiler.qccoptions.934660212" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions"/>
<inputType id="com.qnx.qcc.inputType.compiler.1365138813" superClass="com.qnx.qcc.inputType.compiler"/>
</tool>
<tool id="com.qnx.qcc.tool.assembler.1089714556" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
@@ -273,7 +276,7 @@
<listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/freetype2"/>
<listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
</option>
- <option id="com.qnx.qcc.option.compiler.qccoptions.494816967" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions" valueType="stringList"/>
+ <option id="com.qnx.qcc.option.compiler.qccoptions.494816967" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions"/>
<inputType id="com.qnx.qcc.inputType.compiler.847354580" superClass="com.qnx.qcc.inputType.compiler"/>
</tool>
<tool id="com.qnx.qcc.tool.assembler.1079128231" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
@@ -332,7 +335,7 @@
<listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/freetype2"/>
<listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
</option>
- <option id="com.qnx.qcc.option.compiler.qccoptions.1231866896" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions" valueType="stringList"/>
+ <option id="com.qnx.qcc.option.compiler.qccoptions.1231866896" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions"/>
<inputType id="com.qnx.qcc.inputType.compiler.1809437339" superClass="com.qnx.qcc.inputType.compiler"/>
</tool>
<tool id="com.qnx.qcc.tool.assembler.177844402" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
@@ -392,7 +395,7 @@
<listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/freetype2"/>
<listOptionValue builtIn="false" value="${QNX_TARGET}/../target-override/usr/include"/>
</option>
- <option id="com.qnx.qcc.option.compiler.qccoptions.2076363605" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions" valueType="stringList"/>
+ <option id="com.qnx.qcc.option.compiler.qccoptions.2076363605" name="QCC Options" superClass="com.qnx.qcc.option.compiler.qccoptions"/>
<inputType id="com.qnx.qcc.inputType.compiler.1613997988" superClass="com.qnx.qcc.inputType.compiler"/>
</tool>
<tool id="com.qnx.qcc.tool.assembler.797529982" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
@@ -447,4 +450,5 @@
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
</scannerConfigBuildInfo>
</storageModule>
+ <storageModule moduleId="refreshScope"/>
</cproject>
View
@@ -2,7 +2,7 @@ The Build folder contains custom made project files for Visual Studio 2010 and X
To build for the QNX platform on Windows, run cmd.exe and execute the following commands:
> cd [bbndk] where [bbndk] is where the QNX NDK was installed (i.e. C:\bbndk)
-> NativeSDK-env.bat
+> bbndk-env.bat
> cd [box2d]/qnx where [box2d] is the directory where Box2D was extracted to
> make
Following this, the relevant binaries should reside in the following subdirectories:
Oops, something went wrong.

0 comments on commit bc345f7

Please sign in to comment.