summaryrefslogtreecommitdiff
path: root/cpp/test/include/TestCommon.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-02-26 20:46:27 +0100
committerJose <jose@zeroc.com>2016-02-26 20:46:27 +0100
commit62cba8cd46a535585a4422daab489f114feab6f3 (patch)
treec77e9cec24a570b06024a3c6a1552b8e6eb20ec6 /cpp/test/include/TestCommon.h
parentupdating changelog for ICE-6844 (diff)
downloadice-62cba8cd46a535585a4422daab489f114feab6f3.tar.bz2
ice-62cba8cd46a535585a4422daab489f114feab6f3.tar.xz
ice-62cba8cd46a535585a4422daab489f114feab6f3.zip
Windows msbuild build updates
Diffstat (limited to 'cpp/test/include/TestCommon.h')
-rw-r--r--cpp/test/include/TestCommon.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/include/TestCommon.h b/cpp/test/include/TestCommon.h
index cad96b6bc41..432f1341302 100644
--- a/cpp/test/include/TestCommon.h
+++ b/cpp/test/include/TestCommon.h
@@ -10,6 +10,12 @@
#ifndef TEST_COMMON_H
#define TEST_COMMON_H
+#include <IceUtil/Config.h>
+
+#if defined(_MSC_VER) && !defined(TEST_API_EXPORTS)
+# pragma comment(lib, ICE_LIBNAME("testcommon"))
+#endif
+
#include <Ice/CommunicatorF.h>
#include <Ice/ProxyF.h>