bullet3/test/gtest-1.7.0/premake4.lua
2018-02-09 18:46:26 -08:00

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