Updated Spanish translation
[anjuta.git] / plugins / project-wizard / templates / wxwin.wiz.in
bloba90cb67543b58e2b709edaee3b8ad376f8607322
1 <project-template>
2         <project-wizard>
3                 <_name>Wx Widgets</_name>
4                 <_description>A generic wx Widgets project</_description>
5                 <icon>wxwin-logo.png</icon>
6                 <category>C++</category>
7                 <required-program>automake</required-program>
8                 <required-program>autoconf</required-program>
9                 <required-program>make</required-program>
10         </project-wizard>
11         
12         <page name="basic" _label="Basic information" _description="General Project Information">
13                 <property type="string" name="Name" _label="Project Name:" _description="project name" default="wxwin-foobar" summary="yes" restriction="filename" mandatory="yes"/>
14                 <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
15                 <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
16                 <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
17         </page>
18         
19         <page name="options" _label="Project options" _description="Options for project build system">
20                 <property type="hidden" name="NameUpper" default='[+(string-upcase (get "Name"))+]'/>
21                 <property type="hidden" name="NameLower" default='[+(string-downcase (get "Name"))+]'/>
22                 <property type="hidden" name="NameCUpper" default='[+(string-append (if (~~* (get "Name") "[0-9]") "_" "") (string->c-name! (string-substitute (string-upcase (get "Name")) " " "_")))+]'/>
23                 <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
24                 <property type="hidden" name="NameHLower" default='[+(string-substitute (string->c-name! (string-downcase (get "Name"))) " " "-")+]'/>
25                 <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-downcase (get "Name"))+]' mandatory="yes" exist="no" summary="yes"/>
26                 [+INCLUDE "licenses.tpl"+]
27                 <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"/>
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="HavePackageExtra" _label="Configure external packages:" _description="Use pkg-config to add library support from other packages" default="0"/>
30         </page>
32 [+IF (=(get "HavePackageExtra") "1")+]
33         <page name="packages" _label="Configure external packages" _description="Configure external packages">
34                 <property type="package" name="PackageModule2" _label="Required Packages:" _description="Check the packages that your project requires" mandatory="yes"/>
35         </page>
36 [+ENDIF+]       
37         
38         <content>
39                 <directory source="terminal" destination="[+Destination+]">
40                         <file source="AUTHORS"/>
41                         <file source="ChangeLog"/>
42                         <file source="Makefile.am.tpl" destination="Makefile.am"/>
43                         <file source="NEWS"/>
44                         <file source="README"/>
45                         <file source="autogen.sh" executable="yes"/>
46                         <file destination="[+NameHLower+].anjuta" source="project.anjuta"/>
47                         [+IF (=(get "HaveI18n") "1") +]
48                         <directory source="po">
49                                 <file source="ChangeLog"/>
50                                 <file source="POTFILES.in"/>
51                                 <file source="LINGUAS" />
52                         </directory>
53                         [+ENDIF+]
54                 </directory>
55                 <directory source="wxwin" destination="[+Destination+]">
56                         <file source="configure.ac.tpl" destination="configure.ac"/>
57                         <directory source="src">
58                                 <file source="main.cc"/>
59                                 <file source="Makefile.am.tpl" destination="Makefile.am"/>
60                         </directory>
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>