summaryrefslogtreecommitdiffstats
path: root/Modules/kde3init_dummy.cpp.in
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-03-09 19:10:59 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2006-03-09 19:10:59 (GMT)
commitd253baab99663f531d91d406faf6fe2b822f5cb8 (patch)
tree1bbdce092a3b66c975c6503513519ed9b29c5414 /Modules/kde3init_dummy.cpp.in
parent26e1fea95b4b40cdaa99d069e4892c47f108756b (diff)
downloadCMake-d253baab99663f531d91d406faf6fe2b822f5cb8.zip
CMake-d253baab99663f531d91d406faf6fe2b822f5cb8.tar.gz
CMake-d253baab99663f531d91d406faf6fe2b822f5cb8.tar.bz2
ENH: add real-world-tested and used KDE3 support, and obsolete FindKDE.cmake, which wasn't used by anybody that I heard of
Alex
Diffstat (limited to 'Modules/kde3init_dummy.cpp.in')
-rw-r--r--Modules/kde3init_dummy.cpp.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/kde3init_dummy.cpp.in b/Modules/kde3init_dummy.cpp.in
new file mode 100644
index 0000000..7135c73
--- /dev/null
+++ b/Modules/kde3init_dummy.cpp.in
@@ -0,0 +1,6 @@
+
+/* used by KDE3Macros.cmake */
+
+extern "C" int kdemain(int argc, char* argv[]);
+extern "C" int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }
+int main(int argc, char* argv[]) { return kdemain(argc,argv); }