more premake4 fun and tests

This commit is contained in:
erwin.coumans
2011-09-03 00:27:54 +00:00
parent 82234e6f33
commit c8b3c9e306
28 changed files with 2248 additions and 7 deletions

15
msvc/nacl.sh Normal file
View File

@@ -0,0 +1,15 @@
echo Only tested using a Cygwin Bash Shell with make.exe available
export AR=/cygdrive/f/sdks/native_client_sdk_0_5_984/toolchain/win_x86/bin/nacl-ar.exe
export CC=/cygdrive/f/sdks/native_client_sdk_0_5_984/toolchain/win_x86/bin/nacl-gcc.exe
export CXX=/cygdrive/f/sdks/native_client_sdk_0_5_984/toolchain/win_x86/bin/nacl-g++.exe
./premake4 --with-nacl gmake
cd gmake
export config=release32
make
export config=release64
make

View File

@@ -63,15 +63,18 @@ end
include "../src/BulletMultiThreaded/GpuSoftBodySolvers/DX11"
end
if not _OPTIONS["with-dx11"] and not _OPTIONS["with-nacl"] then
include "../Demos"
include "../Extras"
end
include "../src/LinearMath"
include "../src/BulletCollision"
include "../src/BulletDynamics"
include "../src/BulletSoftBody"
if _OPTIONS["with-nacl"] then
include "../Demos/NativeClient"
else
include "../src/LinearMath"
include "../src/BulletCollision"
include "../src/BulletDynamics"
include "../src/BulletSoftBody"
end