more premake4 fun and tests
This commit is contained in:
15
msvc/nacl.sh
Normal file
15
msvc/nacl.sh
Normal 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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user