From a3dd9d97c57eb1be851a27ffcd6edaed69ee816e Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Fri, 18 Dec 2009 05:23:04 +0000 Subject: Supports building gtest as a DLL (by Vlad Losev). --- scons/SConstruct | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scons/SConstruct') diff --git a/scons/SConstruct b/scons/SConstruct index c749d6a8..f4f82374 100644 --- a/scons/SConstruct +++ b/scons/SConstruct @@ -56,6 +56,8 @@ win_base = sconstruct_helper.MakeWinBaseEnvironment() # setting for our users. if win_base.get('MSVS_VERSION', None) == '7.1': sconstruct_helper.EnableExceptions(win_base) +else: + win_base['GTEST_BUILD_DLL_TEST'] = True sconstruct_helper.MakeWinDebugEnvironment(win_base, 'win-dbg') sconstruct_helper.MakeWinOptimizedEnvironment(win_base, 'win-opt') -- cgit v1.2.3