summaryrefslogtreecommitdiffstats
path: root/cmake/modules/template_kdeinit_module.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/template_kdeinit_module.cmake')
-rw-r--r--cmake/modules/template_kdeinit_module.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/modules/template_kdeinit_module.cmake b/cmake/modules/template_kdeinit_module.cmake
new file mode 100644
index 0000000..68be1e7
--- /dev/null
+++ b/cmake/modules/template_kdeinit_module.cmake
@@ -0,0 +1,3 @@
+#include <kdemacros.h>
+extern "C" int kdemain(int argc, char* argv[]);
+extern "C" KDE_EXPORT int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }