summaryrefslogtreecommitdiffstats
path: root/cmake/modules/template_kdeinit_module.cmake
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-05 23:46:08 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-05 23:46:08 +0000
commitdee2b586276eee4dcb7ac2b55f7265af9917f85c (patch)
tree5cd193b92ca381fbdaf1553f2f200b10dfb1bedc /cmake/modules/template_kdeinit_module.cmake
parent68e9b2ed6fc4e0d1f6f910e6584c71916207d209 (diff)
downloadother-dee2b586276eee4dcb7ac2b55f7265af9917f85c.tar.gz
other-dee2b586276eee4dcb7ac2b55f7265af9917f85c.zip
Add shared CMake directory
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1182909 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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); }