summaryrefslogtreecommitdiff
path: root/smoketest/smoketest_too.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-15 22:20:50 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-07-30 11:26:03 +0200
commit454e415eb4d2dc0d1afcbb55b6557db945e327dd (patch)
tree158d6d838307f7111797728d798891d9dc41169c /smoketest/smoketest_too.cxx
parent0c2a0de598bd39839a610a7e53660bb67397466b (diff)
smoketest: fix build with MSVC:
Linking an empty CppunitTest against smoketest Library does not work, the linker complains aboutunresolved external symbol DllMainCRTstartup or something like that; building a static library has the same result; so just build the cxx file twice via a dummy smoketest_too.cxx. Change-Id: I11a29d4ec134f67a7de896ff8c669ed5b47782a7 (cherry picked from commit d8b6225d974ef7f8dd14cf0828a86f6e9881fc97) Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'smoketest/smoketest_too.cxx')
-rw-r--r--smoketest/smoketest_too.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/smoketest_too.cxx b/smoketest/smoketest_too.cxx
new file mode 100644
index 000000000000..67bd8f611645
--- /dev/null
+++ b/smoketest/smoketest_too.cxx
@@ -0,0 +1 @@
+#include <smoketest.cxx>