You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdevelop/languages/cpp/app_templates/cmakesimplec/cmakesimplec.kdevtemplate

33 lines
743 B

# TDE Config File
[General]
Name=Hello world program
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.
Category=C/CMake based projects
Icon=cmakesimplec.png
#FileTemplates=h,CStyle,cpp,CStyle
ShowFilesAfterGeneration=%{dest}/main.c
Archive=cmakesimplec.tar.gz
[FILE1]
Type=install
EscapeXML=true
Source=%{src}/CMakeLists.txt
Dest=%{dest}/CMakeLists.txt
[FILE2]
Type=install
Source=%{src}/main.c
Dest=%{dest}/main.c
[CMAKE]
Type=finishcmd
Command=cmake ./ -GKDevelop3
Directory=%{dest}
[MSG]
Type=message
Comment=A CMake based hello world program was created in %{dest}