build: add built .plugin files to CLEANFILES
[anjuta.git] / plugins / project-wizard / templates / terminal.wiz.in
blob347e2e0cfe9198c294785f12c2fb49d6510aaec6
1 <project-template>
2         <project-wizard>
3                 <_name>Generic</_name>
4                 <_description>A generic project</_description>
5                 <icon>terminal-logo.png</icon>
6                 <category>C</category>
7                 <order>4</order>
8                 <required-program>automake</required-program>
9                 <required-program>autoconf</required-program>
10                 <required-program>make</required-program>
11         </project-wizard>
12         
13         <page name="basic" _label="Basic information" _description="General Project Information">
14                 <property type="string" name="Name" _label="Project Name:" _description="project name" default="foobar-sample" summary="yes" restriction="filename" mandatory="yes"/>
15                 <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
16                 <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
17                 <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
18         </page>
19         
20         <page name="options" _label="Project options" _description="Options for project build system">
21                 <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
22                 [+INCLUDE "licenses.tpl"+]
23                 <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
24                 <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
25                 <property type="hidden" name="NameCUpper" default='[+(string-append (if (~~* (get "Name") "[0-9]") "_" "") (string->c-name! (string-substitute (string-upcase (get "Name")) " " "_")))+]'/>
26                 <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
27                 <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
28                 <property type="boolean" name="HaveSharedlib" _label="Add shared library support:" _description="Adds support for building shared libraries in your project" default="1"/>
29                 <property type="boolean" name="HaveI18n" _label="Add internationalization:" _description="Adds support for internationalization so that your project can have translations in different languages" default="1"/>
30                 <property type="boolean" name="HavePackage" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
31                 <property type="boolean" name="HaveWindowsSupport" _label="Add Windows support:" _description="Adds support for building on Windows platforms" default="0"/>
32         </page>
33         
34 [+IF (=(get "HavePackage") "1")+]
35         <page name="packages" _label="Configure external packages" _description="Configure external packages">
36                 <property type="package" name="PackageModule1" _label="Required Packages:" _description="Check the packages that your project requires" mandatory="yes"/>
37         </page>
38 [+ENDIF+]       
39         
40         <content>
41                 <directory source="terminal" destination="[+Destination+]">
42                         <file source="AUTHORS"/>
43                         <file source="ChangeLog"/>
44                         <file source="Makefile.am.tpl" destination="Makefile.am"/>
45                         <file source="NEWS"/>
46                         <file source="README"/>
47                         <file source="autogen.sh" executable="yes"/>
48                         <file source="configure.ac.tpl" destination="configure.ac"/>
49                         <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
50                         <directory source="src">
51                                 <file source="Makefile.am.tpl" destination="Makefile.am"/>
52                                 <file source="main.c"/>
53                         </directory>
54                         [+IF (=(get "HaveI18n") "1") +]
55                         <directory source="po">
56                                 <file source="ChangeLog"/>
57                                 <file source="POTFILES.in"/>
58                                 <file source="LINGUAS" />
59                         </directory>
60                         [+ENDIF+]
61                 </directory>
62                 <directory source="licenses" destination="[+Destination+]">
63                         <file source="[+License+].txt" destination="COPYING"/>  
64                 </directory>
65                 <directory source="minimal" destination="[+Destination+]">
66                         <directory source="." destination=".anjuta">
67                                 <directory source="." destination="session">
68                                         <file source="anjuta.session"/>
69                                 </directory>
70                         </directory>
71                 </directory>
72         </content>
73         
74         <action>
75                 <open file="[+Destination+]/[+NameHLower+].anjuta"/>
76         </action>
77 </project-template>