diff options
author | Michael Bauer <michael.mi.bauer@partner.bmw.de> | 2014-04-04 12:44:09 +0200 |
---|---|---|
committer | Michael Bauer <michael.mi.bauer@partner.bmw.de> | 2014-04-04 12:44:09 +0200 |
commit | bcf83a272369cca48de9a74979294169ead53b71 (patch) | |
tree | ecf7a9bca64ee5521637ed152f74e47ab6c3c8a8 | |
parent | c7f784c89bc6798dbccb90ed377582f3ba7d295b (diff) | |
download | genivi-common-api-dbus-runtime-bcf83a272369cca48de9a74979294169ead53b71.tar.gz |
making Unittests.vcxproj compile and adapting README to tell developer how he is able to run UnitTests.exe
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | UnitTests.vcxproj | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -86,6 +86,8 @@ Set the environment variable DBUS_DIR to the directory containing your patched D Set the environment variable DBUS_BUILD_DIR to the directory containing your built DBus. Add the path of CommonAPI.lib to "Additional Library Directories" +To run the tests, you need to add the location of your built dbus-1d.dll to the PATH environment variable + == Linking against CommonAPI-D-Bus CommonAPI-D-Bus requires successful activation of all static initialization code on library load. Therefore it is necessary to diff --git a/UnitTests.vcxproj b/UnitTests.vcxproj index 625691e..dbd0ec2 100644 --- a/UnitTests.vcxproj +++ b/UnitTests.vcxproj @@ -156,7 +156,7 @@ <PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
- <LibraryPath>C:\work\bmw\2.0\dbus\cmake\bin\Debug;$(GTEST)\msvc\gtest\Debug;..\ascgit017.CommonAPI\Debug;$(SolutionDir)\Debug;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86)</LibraryPath>
+ <LibraryPath>$(DBUS_BUILD_DIR)\bin\Debug;$(GTEST)\msvc\gtest\Debug;..\ascgit017.CommonAPI\Debug;$(SolutionDir)\Debug;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86)</LibraryPath>
<IncludePath>$(DBUS_DIR);$(DBUS_BUILD_DIR);$(ProjectDir);$(SolutionDir)\src\test;$(SolutionDir)\src;..\ascgit017.CommonAPI\src;$(GTEST)\include;$(VC_IncludePath);$(WindowsSDK_IncludePath)</IncludePath>
<SourcePath>$(SourcePath)</SourcePath>
</PropertyGroup>
|