summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-12-18 16:48:20 +0000
committerzhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925>2009-12-18 16:48:20 +0000
commita44168e927da8d9106c559aab0f842c823ae1a65 (patch)
treee9dcde51e453b57f1cd4a6e0398424befd9e2e27
parent408f23394780da9b1e5e14380fe21bcac19a93a9 (diff)
downloadgtest-a44168e927da8d9106c559aab0f842c823ae1a65.tar.gz
gtest-a44168e927da8d9106c559aab0f842c823ae1a65.tar.bz2
gtest-a44168e927da8d9106c559aab0f842c823ae1a65.tar.xz
Moves gtest.def from src/ to msvc/.
git-svn-id: http://googletest.googlecode.com/svn/trunk@355 861a406c-534a-0410-8894-cb66d6ee9925
-rw-r--r--msvc/gtest.def (renamed from src/gtest.def)0
-rw-r--r--scons/SConscript2
-rwxr-xr-xscripts/generate_gtest_def.py6
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gtest.def b/msvc/gtest.def
index a5583df..a5583df 100644
--- a/src/gtest.def
+++ b/msvc/gtest.def
diff --git a/scons/SConscript b/scons/SConscript
index a2c31dc..df1392e 100644
--- a/scons/SConscript
+++ b/scons/SConscript
@@ -298,7 +298,7 @@ if BUILD_TESTS:
if env['PLATFORM'] == 'win32' and env.get('GTEST_BUILD_DLL_TEST', None):
test_env = EnvCreator.Create(env, EnvCreator.DllBuild)
dll_env = test_env.Clone()
- dll_env.Append(LINKFLAGS=['-DEF:../src/gtest.def'])
+ dll_env.Append(LINKFLAGS=['-DEF:../msvc/gtest.def'])
gtest_dll = dll_env.SharedLibrary(
target='gtest_dll',
diff --git a/scripts/generate_gtest_def.py b/scripts/generate_gtest_def.py
index 9de7038..048ef59 100755
--- a/scripts/generate_gtest_def.py
+++ b/scripts/generate_gtest_def.py
@@ -63,7 +63,7 @@ import sys
# We assume that this file is in the scripts/ directory in the Google
# Test root directory.
-GTEST_DEF_PATH = os.path.join(os.path.dirname(__file__), '../src/gtest.def')
+GTEST_DEF_PATH = os.path.join(os.path.dirname(__file__), '../msvc/gtest.def')
# Locates the header of the EXPORTS section.
EXPORTS_SECTION_REGEX = re.compile(r'^EXPORTS\s*$', re.IGNORECASE)
@@ -156,13 +156,13 @@ def main():
exports = AdjustExports(exports, unresolved)
WriteGtestDefFile(open(GTEST_DEF_PATH, 'w'), exports)
- sys.stderr.write('Updated test/gtest.def. Please clean the .dll file\n'
+ sys.stderr.write('Updated gtest.def. Please clean the .dll file\n'
'produced by your Google Test DLL build, run the build\n'
'again and pass its diagnostic output to this script\n'
'unless the build succeeds.\n')
else:
sys.stderr.write('The build diagnostic output indicates no unresolved\n'
- 'externals. test/gtest.def is likely up to date and\n'
+ 'externals. gtest.def is likely up to date and\n'
'has not been updated.\n')
if __name__ == '__main__':