source: trunk/nv_bullet.lua @ 524

Last change on this file since 524 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
RevLine 
[520]1local NV_BT_SFX = ""
2if NV_RUNTIME == "dcrt" then
3        NV_BT_SFX = "_dcrt"
4end
5
6function 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/" }
17end
18
19project "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.