@@ -3,6 +3,9 @@
|
|||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
|
||||||
includedirs {".","../../src"}
|
includedirs {".","../../src"}
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"**.cpp",
|
||||||
"**.h"
|
"**.h"
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
|
||||||
includedirs {"."}
|
includedirs {"."}
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"**.cpp",
|
||||||
"**.h"
|
"**.h"
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
"../../src"
|
"../../src"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
files {
|
files {
|
||||||
"*.cpp",
|
"*.cpp",
|
||||||
"*.hpp"
|
"*.hpp"
|
||||||
|
|||||||
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
includedirs {
|
includedirs {
|
||||||
"../../../src"
|
"../../../src"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,11 @@
|
|||||||
"../BulletFileLoader",
|
"../BulletFileLoader",
|
||||||
"../../../src"
|
"../../../src"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"**.cpp",
|
||||||
"**.h"
|
"**.h"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
project "BulletXmlWorldImporter"
|
project "BulletXmlWorldImporter"
|
||||||
|
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
targetdir "../../lib"
|
--targetdir "../../lib"
|
||||||
includedirs {
|
includedirs {
|
||||||
"../BulletWorldImporter",
|
"../BulletWorldImporter",
|
||||||
"../BulletFileLoader",
|
"../BulletFileLoader",
|
||||||
@@ -11,4 +11,4 @@
|
|||||||
files {
|
files {
|
||||||
"**.cpp",
|
"**.cpp",
|
||||||
"**.h"
|
"**.h"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
project "vhacd"
|
project "vhacd"
|
||||||
|
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
includedirs {
|
includedirs {
|
||||||
"../inc","../public",
|
"../inc","../public",
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
@@ -3,7 +3,11 @@ project "App_BulletExampleBrowser"
|
|||||||
language "C++"
|
language "C++"
|
||||||
|
|
||||||
kind "ConsoleApp"
|
kind "ConsoleApp"
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
hasCL = findOpenCL("clew")
|
hasCL = findOpenCL("clew")
|
||||||
|
|
||||||
if (hasCL) then
|
if (hasCL) then
|
||||||
@@ -209,6 +213,10 @@ project "BulletExampleBrowserLib"
|
|||||||
"../../src",
|
"../../src",
|
||||||
"../ThirdPartyLibs",
|
"../ThirdPartyLibs",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
if _OPTIONS["lua"] then
|
if _OPTIONS["lua"] then
|
||||||
includedirs{"../ThirdPartyLibs/lua-5.2.3/src"}
|
includedirs{"../ThirdPartyLibs/lua-5.2.3/src"}
|
||||||
|
|||||||
@@ -12,7 +12,11 @@
|
|||||||
"../ThirdPartyLibs",
|
"../ThirdPartyLibs",
|
||||||
"../../src",
|
"../../src",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
--links {
|
--links {
|
||||||
--}
|
--}
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ includedirs {".","../../src", "../ThirdPartyLibs"}
|
|||||||
links {
|
links {
|
||||||
"BulletSoftBody", "Bullet3Common","BulletInverseDynamicsUtils", "BulletInverseDynamics", "BulletDynamics","BulletCollision", "LinearMath", "BussIK"
|
"BulletSoftBody", "Bullet3Common","BulletInverseDynamicsUtils", "BulletInverseDynamics", "BulletDynamics","BulletCollision", "LinearMath", "BussIK"
|
||||||
}
|
}
|
||||||
|
if os.is("Linux") then
|
||||||
|
links{"dl"}
|
||||||
|
end
|
||||||
|
|
||||||
language "C++"
|
language "C++"
|
||||||
|
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ links {
|
|||||||
end
|
end
|
||||||
if os.is("Linux") then
|
if os.is("Linux") then
|
||||||
defines {"_LINUX"}
|
defines {"_LINUX"}
|
||||||
|
links{"dl"}
|
||||||
end
|
end
|
||||||
if os.is("MacOSX") then
|
if os.is("MacOSX") then
|
||||||
defines {"_DARWIN"}
|
defines {"_DARWIN"}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ project ("App_PhysicsServerSharedMemoryBridgeUDP")
|
|||||||
links {"Ws2_32","Winmm"}
|
links {"Ws2_32","Winmm"}
|
||||||
end
|
end
|
||||||
if os.is("Linux") then
|
if os.is("Linux") then
|
||||||
|
links{"dl"}
|
||||||
end
|
end
|
||||||
if os.is("MacOSX") then
|
if os.is("MacOSX") then
|
||||||
end
|
end
|
||||||
@@ -68,6 +69,9 @@ if os.is("Windows") then
|
|||||||
defines { "WIN32" }
|
defines { "WIN32" }
|
||||||
links {"Ws2_32","Winmm"}
|
links {"Ws2_32","Winmm"}
|
||||||
end
|
end
|
||||||
|
if os.is("Linux") then
|
||||||
|
links{"dl"}
|
||||||
|
end
|
||||||
|
|
||||||
language "C++"
|
language "C++"
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
includedirs {
|
includedirs {
|
||||||
"."
|
"."
|
||||||
}
|
}
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
files {
|
files {
|
||||||
"*.cpp",
|
"*.cpp",
|
||||||
"*.h",
|
"*.h",
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ end
|
|||||||
|
|
||||||
defines { "GWEN_COMPILE_STATIC" }
|
defines { "GWEN_COMPILE_STATIC" }
|
||||||
defines { "DONT_USE_GLUT"}
|
defines { "DONT_USE_GLUT"}
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
includedirs {
|
includedirs {
|
||||||
".",".."
|
".",".."
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
includedirs {
|
includedirs {
|
||||||
".","include","src"
|
".","include","src"
|
||||||
}
|
}
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
files {
|
files {
|
||||||
"src/SimpleSocket.cpp",
|
"src/SimpleSocket.cpp",
|
||||||
"src/ActiveSocket.cpp",
|
"src/ActiveSocket.cpp",
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
includedirs {
|
includedirs {
|
||||||
".","include"
|
".","include"
|
||||||
}
|
}
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
files {
|
files {
|
||||||
"callbacks.c",
|
"callbacks.c",
|
||||||
"compress.c",
|
"compress.c",
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
includedirs {
|
includedirs {
|
||||||
"src"
|
"src"
|
||||||
}
|
}
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
files {
|
files {
|
||||||
"src/*.c",
|
"src/*.c",
|
||||||
"src/*.h"
|
"src/*.h"
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
includedirs {"include"}
|
includedirs {"include"}
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
if os.is("Windows") then
|
if os.is("Windows") then
|
||||||
files{
|
files{
|
||||||
"src/impl/win.cc",
|
"src/impl/win.cc",
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
includedirs {".."}
|
includedirs {".."}
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"**.cpp",
|
||||||
|
|||||||
@@ -4,6 +4,10 @@
|
|||||||
|
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
includedirs {".."}
|
includedirs {".."}
|
||||||
|
|
||||||
files {
|
files {
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
".."
|
".."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"**.cpp",
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
|
|
||||||
includedirs {".."}
|
includedirs {".."}
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"**.cpp",
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ function createProject(vendor)
|
|||||||
|
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
includedirs {
|
includedirs {
|
||||||
".",".."
|
".",".."
|
||||||
|
|||||||
@@ -5,6 +5,10 @@
|
|||||||
includedirs {
|
includedirs {
|
||||||
"../../../src"
|
"../../../src"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"**.cpp",
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
project "BulletCollision"
|
project "BulletCollision"
|
||||||
|
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
includedirs {
|
includedirs {
|
||||||
"..",
|
"..",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,9 @@
|
|||||||
includedirs {
|
includedirs {
|
||||||
"..",
|
"..",
|
||||||
}
|
}
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
files {
|
files {
|
||||||
"Dynamics/*.cpp",
|
"Dynamics/*.cpp",
|
||||||
"Dynamics/*.h",
|
"Dynamics/*.h",
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
project "BulletInverseDynamics"
|
project "BulletInverseDynamics"
|
||||||
|
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
includedirs {
|
includedirs {
|
||||||
"..",
|
"..",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,9 @@
|
|||||||
includedirs {
|
includedirs {
|
||||||
"..",
|
"..",
|
||||||
}
|
}
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
files {
|
files {
|
||||||
"**.cpp",
|
"**.cpp",
|
||||||
"**.h"
|
"**.h"
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
project "LinearMath"
|
project "LinearMath"
|
||||||
|
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
includedirs {
|
includedirs {
|
||||||
"..",
|
"..",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -164,6 +164,9 @@ project ("Test_PhysicsServerLoopBack")
|
|||||||
"BussIK",
|
"BussIK",
|
||||||
"LinearMath"
|
"LinearMath"
|
||||||
}
|
}
|
||||||
|
if os.is("Linux") then
|
||||||
|
links{"dl"}
|
||||||
|
end
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"test.c",
|
"test.c",
|
||||||
@@ -250,6 +253,9 @@ end
|
|||||||
"BussIK",
|
"BussIK",
|
||||||
"LinearMath"
|
"LinearMath"
|
||||||
}
|
}
|
||||||
|
if os.is("Linux") then
|
||||||
|
links{"dl"}
|
||||||
|
end
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"test.c",
|
"test.c",
|
||||||
|
|||||||
@@ -16,3 +16,7 @@
|
|||||||
includedirs {
|
includedirs {
|
||||||
".","include"
|
".","include"
|
||||||
}
|
}
|
||||||
|
if os.is("Linux") then
|
||||||
|
buildoptions{"-fPIC"}
|
||||||
|
end
|
||||||
|
|
||||||
Reference in New Issue
Block a user