source: trunk/nv_bullet.lua @ 547

Last change on this file since 547 was 533, checked in by epyon, 8 years ago
  • getting rid of size_t
  • datatypes now restricted to uint32 size
  • 64-bit compatibility
  • copyright updates where modified
File size: 1.4 KB
Line 
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        includedirs { "D:/Libraries/bullet2/src/" }
30
31        configuration "debug"
32                nv_bullet_configure( "D:/Libraries/bullet2/x86/", "RelWithDebInfo", "_rdbg" )
33--              nv_bullet_configure( "D:/Libraries/bullet2/x86/", "Debug", "_debug" )
34
35        configuration "profiler"
36                nv_bullet_configure( "D:/Libraries/bullet2/x86/", "Release" )
37
38        configuration "release"
39                nv_bullet_configure( "D:/Libraries/bullet2/x86/", "Release" )
40
41        configuration "debug_64"
42                nv_bullet_configure( "D:/Libraries/bullet2/x86_64/", "RelWithDebInfo", "_rdbg" )
43--              nv_bullet_configure( "D:/Libraries/bullet2/x86_64/", "Debug", "_debug" )
44
45        configuration "profiler_64"
46                nv_bullet_configure( "D:/Libraries/bullet2/x86_64/", "Release" )
47
48        configuration "release_64"
49                nv_bullet_configure( "D:/Libraries/bullet2/x86_64/", "Release" )
50
51
52
Note: See TracBrowser for help on using the repository browser.