aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-04-25 20:08:54 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-04-25 20:08:54 +0000
commited62f49a4fb8f225f66d0728fbb43ea7b8ccf90d (patch)
tree182ccbd80015f5c776d290fc96c195e3699dbceb
parent71c3bac5de398ee2d6949f49e95b6a5b9cc9fe4d (diff)
downloadextra-cmake-modules-ed62f49a4fb8f225f66d0728fbb43ea7b8ccf90d.tar.gz
extra-cmake-modules-ed62f49a4fb8f225f66d0728fbb43ea7b8ccf90d.tar.bz2
-this file will be required by the modified kde4_add_kdeinit_executable() for windows
Alex svn path=/trunk/KDE/kdelibs/; revision=801155
-rw-r--r--modules/kde4init_win32lib_dummy.cpp.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/kde4init_win32lib_dummy.cpp.in b/modules/kde4init_win32lib_dummy.cpp.in
new file mode 100644
index 00000000..0aa704bc
--- /dev/null
+++ b/modules/kde4init_win32lib_dummy.cpp.in
@@ -0,0 +1,5 @@
+/* dummy file, used by KDE4_ADD_KDEINIT_EXECUTABLE() under Windows,
+ * so that the created static library is not completely empty */
+
+extern "C" int kdeinit_${_KDEINIT4_TARGET_NAME_}_dummy(void) { return 42; }
+