From 99b6fe38a77bf9cc7555b7d9fa02b682ed45b942 Mon Sep 17 00:00:00 2001 From: Michael Bauer Date: Wed, 2 Apr 2014 16:31:21 +0200 Subject: changing hardcoded GTEST directory path to a property. setting build dependency from Tests project to CommonAPI. Adding CommonAPI.lib to additional libraries of Tests.vcxproj. Adding path of SolutionDir/Debug to additional library directories of Tests.vcxproj --- CommonAPI.sln | 5 ++++- Tests.vcxproj | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CommonAPI.sln b/CommonAPI.sln index b10dbd0..025d1c9 100644 --- a/CommonAPI.sln +++ b/CommonAPI.sln @@ -1,9 +1,12 @@  Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Express 2013 for Windows Desktop -VisualStudioVersion = 12.0.20827.3 +VisualStudioVersion = 12.0.21005.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Tests.vcxproj", "{872A0F1D-2EB9-443D-9869-B7F699CC0DE2}" + ProjectSection(ProjectDependencies) = postProject + {C18FDEDE-810E-405D-9100-57A1CC5C78A9} = {C18FDEDE-810E-405D-9100-57A1CC5C78A9} + EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommonAPI", "CommonAPI.vcxproj", "{C18FDEDE-810E-405D-9100-57A1CC5C78A9}" EndProject diff --git a/Tests.vcxproj b/Tests.vcxproj index 5cc6625..e737336 100644 --- a/Tests.vcxproj +++ b/Tests.vcxproj @@ -44,8 +44,8 @@ true - C:\work\bmw\2.0\gtest-1.7.0\include;$(SolutionDir)\src\test;$(VC_IncludePath);$(WindowsSDK_IncludePath) - C:\work\bmw\2.0\gtest-1.7.0\msvc\gtest\Debug;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86) + $(GTEST)\include;$(SolutionDir)\src\test;$(VC_IncludePath);$(WindowsSDK_IncludePath) + $(GTEST)\msvc\gtest\Debug;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86) true @@ -63,8 +63,8 @@ Console true - $(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories) - gtestd.lib;%(AdditionalDependencies) + $(SolutionDir)Debug;$(VCInstallDir)UnitTest\lib;%(AdditionalLibraryDirectories) + gtestd.lib;CommonAPI.lib;%(AdditionalDependencies) -- cgit v1.2.1