[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/languages/cpp/app_templates
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2004-12-05 23:10:04
Message-ID: 20041205231004.61C301B9D3 () office ! kde ! org
[Download RAW message or body]

CVS commit by neundorf: 

-add some cmake templates:
-a C++ shared library template
-a simple C hello world
-a C shared library template

advanced C/C++ app template still missing, maybe even Qt/KDE app templates

Alex


  A            cmakelibc/.cvsignore   1.1
  A            cmakelibc/CMakeLists.txt   1.1
  A            cmakelibc/CMakeLists.txt.src   1.1
  A            cmakelibc/Makefile.am   1.1
  A            cmakelibc/cmakelibc   1.1
  A            cmakelibc/cmakelibc.kdevtemplate   1.1
  A            cmakelibc/cmakelibc.png   1.1
  A            cmakelibc/lib.c   1.1 [no copyright]
  A            cmakelibc/lib.h   1.1 [no copyright]
  A            cmakelibc/test.c   1.1 [no copyright]
  A            cmakelibcpp/.cvsignore   1.1
  A            cmakelibcpp/CMakeLists.txt   1.1
  A            cmakelibcpp/CMakeLists.txt.src   1.1
  A            cmakelibcpp/Makefile.am   1.1
  A            cmakelibcpp/cmakelibcpp   1.1
  A            cmakelibcpp/cmakelibcpp.kdevtemplate   1.1
  A            cmakelibcpp/cmakelibcpp.png   1.1
  A            cmakelibcpp/lib.cpp   1.1 [no copyright]
  A            cmakelibcpp/lib.h   1.1 [no copyright]
  A            cmakelibcpp/test.cpp   1.1 [no copyright]
  A            cmakesimplec/.cvsignore   1.1
  A            cmakesimplec/CMakeLists.txt   1.1
  A            cmakesimplec/Makefile.am   1.1
  A            cmakesimplec/cmakesimplec   1.1
  A            cmakesimplec/cmakesimplec.kdevtemplate   1.1
  A            cmakesimplec/cmakesimplec.png   1.1
  A            cmakesimplec/main.c   1.1 [no copyright]
  M +1 -1      Makefile.am   1.12
  M +4 -1      cmakesimple/CMakeLists.txt   1.2
  M +3 -4      cmakesimple/cmakesimple   1.2
  M +4 -4      cmakesimple/cmakesimple.kdevtemplate   1.2


--- kdevelop/languages/cpp/app_templates/Makefile.am  #1.11:1.12
@@ -1 +1 @@
-SUBDIRS = kapp kpartapp kpartplugin kcmodule kicker kioslave kdevpart kdevpart2 \
chello cpphello gnomeapp kscreensaver kofficepart chello_gba dcopservice konqnavpanel \
qmakesimple qmakeapp khello khello2 kateplugin kateplugin2 qtopiaapp kdedcop wxhello \
cppsdlhello kdevlang noatunvisual noatunui kbearplugin kbearimportfilter kmod \
kfileplugin clanlib opieapp opieapplet opieinput opiemenu opienet opietoday kxt \
gtk2mmapp cppcurseshello win32hello win32gui cmakesimple +SUBDIRS = kapp kpartapp \
kpartplugin kcmodule kicker kioslave kdevpart kdevpart2 chello cpphello gnomeapp \
kscreensaver kofficepart chello_gba dcopservice konqnavpanel qmakesimple qmakeapp \
khello khello2 kateplugin kateplugin2 qtopiaapp kdedcop wxhello cppsdlhello kdevlang \
noatunvisual noatunui kbearplugin kbearimportfilter kmod kfileplugin clanlib opieapp \
opieapplet opieinput opiemenu opienet opietoday kxt gtk2mmapp cppcurseshello \
win32hello win32gui cmakesimple cmakesimplec cmakelibcpp cmakelibc

--- kdevelop/languages/cpp/app_templates/cmakesimple/CMakeLists.txt  #1.1:1.2
@@ -2,5 +2,8 @@
 PROJECT(%{APPNAMELC})
 
-#add definitions, compiler switches, etc.
+#if you don't want the full compiler output, remove the following line
+SET(CMAKE_VERBOSE_MAKEFILE ON)
+
+#add definitions, compiler switches, etc. 
 ADD_DEFINITIONS(-Wall -O2)
 

--- kdevelop/languages/cpp/app_templates/cmakesimple/cmakesimple  #1.1:1.2
@@ -3,6 +3,5 @@
 Name=Hello world program
 Icon=cmakesimple.png
-Category=C++/CMake project
-Comment=Generates a simple Hello world program in C++ using CMake based project \
                manager
-FileTemplates=h,CStyle,cpp,CStyle
-ShowFilesAfterGeneration=src/APPNAMELC.cpp
+Category=C++/CMake based projects
+Comment=Generates a simple Hello world program in C++ using the CMake build tool \
instead of the automake/autoconf/libtool combination. It requires cmake 2.1 \
(available from cmake cvs) or the upcoming cmake 2.2 release. \
+ShowFilesAfterGeneration=main.cpp

--- kdevelop/languages/cpp/app_templates/cmakesimple/cmakesimple.kdevtemplate  \
#1.1:1.2 @@ -3,8 +3,8 @@
 Name=Hello world program
 Icon=cmakesimple.png
-Category=C++/CMake project
-Comment=Generates a simple Hello world program in C++ using CMake based project \
                manager
-FileTemplates=h,CStyle,cpp,CStyle
-ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp
+Category=C++/CMake based projects
+Comment=Generates a simple Hello world program in C++ using the CMake build tool \
instead of the automake/autoconf/libtool combination. It requires cmake 2.1 \
(available from cmake cvs) or the upcoming cmake 2.2 release. \
+#FileTemplates=h,CStyle,cpp,CStyle +ShowFilesAfterGeneration=%{dest}/main.cpp
 Archive=cmakesimple.tar.gz
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic