diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-12-18 05:23:04 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-12-18 05:23:04 +0000 |
commit | a3dd9d97c57eb1be851a27ffcd6edaed69ee816e (patch) | |
tree | 1b0ba9ecfc2d495d6c293110c6331a77304e35e1 /scons/SConstruct | |
parent | 88e97c822c988eaa9f8bcbaa1ea5d702ffd7d384 (diff) | |
download | googletest-a3dd9d97c57eb1be851a27ffcd6edaed69ee816e.tar.gz googletest-a3dd9d97c57eb1be851a27ffcd6edaed69ee816e.tar.bz2 googletest-a3dd9d97c57eb1be851a27ffcd6edaed69ee816e.zip |
Supports building gtest as a DLL (by Vlad Losev).
Diffstat (limited to 'scons/SConstruct')
-rw-r--r-- | scons/SConstruct | 2 |
1 files changed, 2 insertions, 0 deletions
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') |