From 4f1d72ed86ade239a3a03b4cb4482012daab0bff Mon Sep 17 00:00:00 2001 From: shiqian Date: Wed, 9 Jul 2008 20:58:26 +0000 Subject: Makes Google Test compile on Mac OS X and Cygwin, and adds project files for Microsoft Visual Studio. git-svn-id: http://googletest.googlecode.com/svn/trunk@55 861a406c-534a-0410-8894-cb66d6ee9925 --- msvc/gtest.sln | 85 ++++++++++++++ msvc/gtest.vcproj | 207 ++++++++++++++++++++++++++++++++++ msvc/gtest_color_test_.vcproj | 144 +++++++++++++++++++++++ msvc/gtest_env_var_test_.vcproj | 144 +++++++++++++++++++++++ msvc/gtest_environment_test.vcproj | 144 +++++++++++++++++++++++ msvc/gtest_main.vcproj | 165 +++++++++++++++++++++++++++ msvc/gtest_output_test_.vcproj | 147 ++++++++++++++++++++++++ msvc/gtest_prod_test.vcproj | 164 +++++++++++++++++++++++++++ msvc/gtest_uninitialized_test_.vcproj | 144 +++++++++++++++++++++++ msvc/gtest_unittest.vcproj | 147 ++++++++++++++++++++++++ 10 files changed, 1491 insertions(+) create mode 100755 msvc/gtest.sln create mode 100755 msvc/gtest.vcproj create mode 100755 msvc/gtest_color_test_.vcproj create mode 100755 msvc/gtest_env_var_test_.vcproj create mode 100755 msvc/gtest_environment_test.vcproj create mode 100755 msvc/gtest_main.vcproj create mode 100755 msvc/gtest_output_test_.vcproj create mode 100755 msvc/gtest_prod_test.vcproj create mode 100755 msvc/gtest_uninitialized_test_.vcproj create mode 100755 msvc/gtest_unittest.vcproj (limited to 'msvc') diff --git a/msvc/gtest.sln b/msvc/gtest.sln new file mode 100755 index 0000000..775a40b --- /dev/null +++ b/msvc/gtest.sln @@ -0,0 +1,85 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest", "gtest.vcproj", "{C8F6C172-56F2-4E76-B5FA-C3B423B31BE7}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest_main", "gtest_main.vcproj", "{3AF54C8A-10BF-4332-9147-F68ED9862032}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest_unittest", "gtest_unittest.vcproj", "{4D9FDFB5-986A-4139-823C-F4EE0ED481A1}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest_environment_test", "gtest_environment_test.vcproj", "{DF5FA93D-DC03-41A6-A18C-079198633450}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest_prod_test", "gtest_prod_test.vcproj", "{24848551-EF4F-47E8-9A9D-EA4D49BC3ECA}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest_color_test_", "gtest_color_test_.vcproj", "{ABC5A7E8-072C-4A2D-B186-19EA5394B9C6}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest_env_var_test_", "gtest_env_var_test_.vcproj", "{569C6F70-F41C-47F3-A622-8A88DC43D452}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest_output_test_", "gtest_output_test_.vcproj", "{A4903F73-ED6C-4972-863E-F7355EB0145E}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gtest_uninitialized_test_", "gtest_uninitialized_test_.vcproj", "{42B8A077-E162-4540-A688-246296ACAC1D}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {C8F6C172-56F2-4E76-B5FA-C3B423B31BE7}.Debug.ActiveCfg = Debug|Win32 + {C8F6C172-56F2-4E76-B5FA-C3B423B31BE7}.Debug.Build.0 = Debug|Win32 + {C8F6C172-56F2-4E76-B5FA-C3B423B31BE7}.Release.ActiveCfg = Release|Win32 + {C8F6C172-56F2-4E76-B5FA-C3B423B31BE7}.Release.Build.0 = Release|Win32 + {3AF54C8A-10BF-4332-9147-F68ED9862032}.Debug.ActiveCfg = Debug|Win32 + {3AF54C8A-10BF-4332-9147-F68ED9862032}.Debug.Build.0 = Debug|Win32 + {3AF54C8A-10BF-4332-9147-F68ED9862032}.Release.ActiveCfg = Release|Win32 + {3AF54C8A-10BF-4332-9147-F68ED9862032}.Release.Build.0 = Release|Win32 + {4D9FDFB5-986A-4139-823C-F4EE0ED481A1}.Debug.ActiveCfg = Debug|Win32 + {4D9FDFB5-986A-4139-823C-F4EE0ED481A1}.Debug.Build.0 = Debug|Win32 + {4D9FDFB5-986A-4139-823C-F4EE0ED481A1}.Release.ActiveCfg = Release|Win32 + {4D9FDFB5-986A-4139-823C-F4EE0ED481A1}.Release.Build.0 = Release|Win32 + {DF5FA93D-DC03-41A6-A18C-079198633450}.Debug.ActiveCfg = Debug|Win32 + {DF5FA93D-DC03-41A6-A18C-079198633450}.Debug.Build.0 = Debug|Win32 + {DF5FA93D-DC03-41A6-A18C-079198633450}.Release.ActiveCfg = Release|Win32 + {DF5FA93D-DC03-41A6-A18C-079198633450}.Release.Build.0 = Release|Win32 + {24848551-EF4F-47E8-9A9D-EA4D49BC3ECA}.Debug.ActiveCfg = Debug|Win32 + {24848551-EF4F-47E8-9A9D-EA4D49BC3ECA}.Debug.Build.0 = Debug|Win32 + {24848551-EF4F-47E8-9A9D-EA4D49BC3ECA}.Release.ActiveCfg = Release|Win32 + {24848551-EF4F-47E8-9A9D-EA4D49BC3ECA}.Release.Build.0 = Release|Win32 + {ABC5A7E8-072C-4A2D-B186-19EA5394B9C6}.Debug.ActiveCfg = Debug|Win32 + {ABC5A7E8-072C-4A2D-B186-19EA5394B9C6}.Debug.Build.0 = Debug|Win32 + {ABC5A7E8-072C-4A2D-B186-19EA5394B9C6}.Release.ActiveCfg = Release|Win32 + {ABC5A7E8-072C-4A2D-B186-19EA5394B9C6}.Release.Build.0 = Release|Win32 + {569C6F70-F41C-47F3-A622-8A88DC43D452}.Debug.ActiveCfg = Debug|Win32 + {569C6F70-F41C-47F3-A622-8A88DC43D452}.Debug.Build.0 = Debug|Win32 + {569C6F70-F41C-47F3-A622-8A88DC43D452}.Release.ActiveCfg = Release|Win32 + {569C6F70-F41C-47F3-A622-8A88DC43D452}.Release.Build.0 = Release|Win32 + {A4903F73-ED6C-4972-863E-F7355EB0145E}.Debug.ActiveCfg = Debug|Win32 + {A4903F73-ED6C-4972-863E-F7355EB0145E}.Debug.Build.0 = Debug|Win32 + {A4903F73-ED6C-4972-863E-F7355EB0145E}.Release.ActiveCfg = Release|Win32 + {A4903F73-ED6C-4972-863E-F7355EB0145E}.Release.Build.0 = Release|Win32 + {42B8A077-E162-4540-A688-246296ACAC1D}.Debug.ActiveCfg = Debug|Win32 + {42B8A077-E162-4540-A688-246296ACAC1D}.Debug.Build.0 = Debug|Win32 + {42B8A077-E162-4540-A688-246296ACAC1D}.Release.ActiveCfg = Release|Win32 + {42B8A077-E162-4540-A688-246296ACAC1D}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/msvc/gtest.vcproj b/msvc/gtest.vcproj new file mode 100755 index 0000000..3f2a5a6 --- /dev/null +++ b/msvc/gtest.vcproj @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/msvc/gtest_color_test_.vcproj b/msvc/gtest_color_test_.vcproj new file mode 100755 index 0000000..f879c2f --- /dev/null +++ b/msvc/gtest_color_test_.vcproj @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/msvc/gtest_env_var_test_.vcproj b/msvc/gtest_env_var_test_.vcproj new file mode 100755 index 0000000..b51f4d8 --- /dev/null +++ b/msvc/gtest_env_var_test_.vcproj @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/msvc/gtest_environment_test.vcproj b/msvc/gtest_environment_test.vcproj new file mode 100755 index 0000000..7cdd276 --- /dev/null +++ b/msvc/gtest_environment_test.vcproj @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/msvc/gtest_main.vcproj b/msvc/gtest_main.vcproj new file mode 100755 index 0000000..eeaa236 --- /dev/null +++ b/msvc/gtest_main.vcproj @@ -0,0 +1,165 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/msvc/gtest_output_test_.vcproj b/msvc/gtest_output_test_.vcproj new file mode 100755 index 0000000..2d7808a --- /dev/null +++ b/msvc/gtest_output_test_.vcproj @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/msvc/gtest_prod_test.vcproj b/msvc/gtest_prod_test.vcproj new file mode 100755 index 0000000..b358841 --- /dev/null +++ b/msvc/gtest_prod_test.vcproj @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/msvc/gtest_uninitialized_test_.vcproj b/msvc/gtest_uninitialized_test_.vcproj new file mode 100755 index 0000000..d7d158f --- /dev/null +++ b/msvc/gtest_uninitialized_test_.vcproj @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/msvc/gtest_unittest.vcproj b/msvc/gtest_unittest.vcproj new file mode 100755 index 0000000..609aa9a --- /dev/null +++ b/msvc/gtest_unittest.vcproj @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.1