Browse Source

- update information on native bullet building

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8862 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 14 years ago
parent
commit
2a48696164
1 changed files with 16 additions and 6 deletions
  1. 16 6
      engine/bullet-native-build.txt

+ 16 - 6
engine/bullet-native-build.txt

@@ -5,7 +5,7 @@
 
 
 This document outlines the process of building bullet-jme on different platforms.
 This document outlines the process of building bullet-jme on different platforms.
 Since bulletjme is a native java library and bullet gets included statically,
 Since bulletjme is a native java library and bullet gets included statically,
-building requires you to download and build the bullet source first.
+building requires downloading and building the bullet sources.
 
 
 Note that you do need to have CMake and a GCC compiler installed as well as
 Note that you do need to have CMake and a GCC compiler installed as well as
 the Android NDK in case you want to build for android too.
 the Android NDK in case you want to build for android too.
@@ -15,7 +15,7 @@ Requirements
 -----------------------------------
 -----------------------------------
 ALL PLATFORMS
 ALL PLATFORMS
 - Java SDK 1.5+: http://java.sun.com
 - Java SDK 1.5+: http://java.sun.com
-- Apache ANT: http://ant.apache.org (Included in most Java IDEs)
+- Apache ANT: http://ant.apache.org (included in most Java IDEs)
 - Android NDK (optional): http://developer.android.com/sdk/ndk/index.html
 - Android NDK (optional): http://developer.android.com/sdk/ndk/index.html
 
 
 WINDOWS
 WINDOWS
@@ -46,6 +46,16 @@ via your IDE or command line:
 You can alter options in the "nbproject/bullet.properties" file, such as the used
 You can alter options in the "nbproject/bullet.properties" file, such as the used
 bullet version, native compilation options (see below), path to Android NDK etc.
 bullet version, native compilation options (see below), path to Android NDK etc.
 
 
+-----------------------------------
+Running
+-----------------------------------
+The resulting jMonkeyEngine3.jar containing the tests will automatically use the
+jME3-jbullet.jar or jME3-bullet.jar, depending on which is available in the libs directory.
+
+A convenience target exists to run the engine tests using the native bullet library:
+
+> ant run-bullet-native
+
 -----------------------------------
 -----------------------------------
 Altering the native build process
 Altering the native build process
 -----------------------------------
 -----------------------------------
@@ -78,14 +88,14 @@ of the old one.
 -----------------------------------
 -----------------------------------
 Netbeans Project
 Netbeans Project
 -----------------------------------
 -----------------------------------
-The project also includes a Netbeans project to edit and build
-the source in the Netbeans IDE in the /src/bullet/ subfolder.
+The engine NetBeans project also includes the native sources and a build configuration
+entry to build the binary and run the tests with it.
 
 
 To have correct syntax highlighting in .cpp/.h files:
 To have correct syntax highlighting in .cpp/.h files:
 
 
 - in Netbeans Settings -> C/C++ -> Code Assistance -> C++
 - in Netbeans Settings -> C/C++ -> Code Assistance -> C++
-  - add bullet-2.77/src as include directories for c++
-  - add JAVA_HOME/include as include directories for c++
+  - add bullet-2.79/src as include directories for C++
+  - add JAVA_HOME/include as include directories for C