1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
project "hello_gtest"
kind "ConsoleApp"
-- defines { }
targetdir "../../bin"
includedirs
{
".","../gtest-1.7.0/include"
}
if os.is("Windows") then
--see http://stackoverflow.com/questions/12558327/google-test-in-visual-studio-2012
defines {"_VARIADIC_MAX=10"}
end
-- linkLib "gtest"
links "gtest"
files {
"**.cpp",
"**.h",
-- "../gtest-1.7.0/src/gtest_main.cc"
}
if os.is("Windows") then
end
if os.is("Linux") then
end
if os.is("MacOSX") then
end
|