Use git submodule for googletest

This commit is contained in:
Ray Speth
2015-10-18 18:54:09 -04:00
parent c0eca16b34
commit 4a411b76bb
43 changed files with 43 additions and 31852 deletions
+3 -1
View File
@@ -12,8 +12,10 @@ if localenv['OS'] == 'Linux':
else:
cantera_libs = localenv['cantera_libs']
localenv.Prepend(CPPPATH=['#ext/gtest/include', '#include'],
localenv.Prepend(CPPPATH=['#include'],
LIBPATH='#build/lib')
if not env['system_googletest']:
localenv.Prepend(CPPPATH=['#ext/googletest/include'])
localenv.Append(LIBS=['gtest'] + cantera_libs,
CCFLAGS=env['warning_flags'])