remove #include <stdbool.h> it breaks MSVC 2010
enable gtest by default when using premake, added flag without-gtest use gtest ASSERT_EQ( expected_value, actual_value) instead of the reverse, this fixes issue 205 (https://github.com/bulletphysics/bullet3/issues/205)
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
|
||||
newoption
|
||||
{
|
||||
trigger = "gtest",
|
||||
description = "Enable unit tests using gtest"
|
||||
trigger = "without-gtest",
|
||||
description = "Disable unit tests using gtest"
|
||||
}
|
||||
|
||||
configurations {"Release", "Debug"}
|
||||
@@ -95,7 +95,7 @@
|
||||
|
||||
language "C++"
|
||||
|
||||
if _OPTIONS["gtest"] then
|
||||
if not _OPTIONS["without-gtest"] then
|
||||
include "../test/gtest-1.7.0"
|
||||
-- include "../test/hello_gtest"
|
||||
include "../test/TestBullet3OpenCL"
|
||||
|
||||
Reference in New Issue
Block a user