mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 05:10:08 +00:00
508550c5e9
See also issue #1538
22 lines
359 B
Lua
22 lines
359 B
Lua
project "gtest"
|
|
|
|
kind "StaticLib"
|
|
|
|
files{"src/gtest-all.cc"}
|
|
|
|
--defines {"GTEST_HAS_PTHREAD=1"}
|
|
|
|
if os.is("Windows") then
|
|
--see http://stackoverflow.com/questions/12558327/google-test-in-visual-studio-2012
|
|
defines {"_VARIADIC_MAX=10"}
|
|
end
|
|
|
|
|
|
|
|
includedirs {
|
|
".","include"
|
|
}
|
|
if os.is("Linux") then
|
|
buildoptions{"-fPIC"}
|
|
end
|
|
|