Last change
on this file since 532 was
520,
checked in by epyon, 9 years ago
|
- ecs updates
- animation updates
- ragdoll manager
- lua has own random engine
- several minor fixes
- particle engine/particle group
- shitload of other stuff
- bullet world
|
File size:
859 bytes
|
Rev | Line | |
---|
[520] | 1 | local NV_BT_SFX = ""
|
---|
| 2 | if NV_RUNTIME == "dcrt" then
|
---|
| 3 | NV_BT_SFX = "_dcrt"
|
---|
| 4 | end
|
---|
| 5 |
|
---|
| 6 | function nv_bullet_configure( dir, subdir, suffix )
|
---|
| 7 | suffix = suffix or ""
|
---|
| 8 | links
|
---|
| 9 | {
|
---|
| 10 | "BulletCollision"..suffix..NV_BT_SFX,
|
---|
| 11 | "BulletDynamics"..suffix..NV_BT_SFX,
|
---|
| 12 | "BulletSoftBody"..suffix..NV_BT_SFX,
|
---|
| 13 | "LinearMath"..suffix..NV_BT_SFX,
|
---|
| 14 | }
|
---|
| 15 | libdirs { dir.."lib/"..subdir.."/" }
|
---|
| 16 | includedirs { dir.."src/" }
|
---|
| 17 | end
|
---|
| 18 |
|
---|
| 19 | project "nv-bullet"
|
---|
| 20 | location (_ACTION.."/"..NV_RUNTIME)
|
---|
| 21 | language "C++"
|
---|
| 22 | kind "StaticLib"
|
---|
| 23 | files { "nv/bullet/**.hh", "src/bullet/**.cc" }
|
---|
| 24 | includedirs {
|
---|
| 25 | "../nv"
|
---|
| 26 | }
|
---|
| 27 | links { "nv-core", "nv-gl", "nv-formats", "nv-lua", "nv-lib", "nv-io", "nv-gfx" }
|
---|
| 28 |
|
---|
| 29 | configuration "debug"
|
---|
| 30 | nv_bullet_configure( "D:/Libraries/bullet2/", "Debug", "_debug" )
|
---|
| 31 |
|
---|
| 32 | configuration "not debug"
|
---|
| 33 | nv_bullet_configure( "D:/Libraries/bullet2/", "Release" )
|
---|
| 34 |
|
---|
| 35 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.