4 # description of the template to be displayed with option --info
7 Description: This template can be used to create an application module (previously called profile).
11 # code to subsitute with component name
12 file_subst = "AppModule"
14 # delimiter used in the template (default is ':sat:')
17 # filter of files to ignore for substitution
18 # if not defined all files will be parsed
19 ignore_filters = '*.png'
22 # a string = parameter name
23 # a tuple = (parameter name, default value, prompt, validation method)
25 (file_subst, "%(NAME)s"),
26 ("get_method", "dir", "archive", "get method for prepare", lambda l: l in ['cvs', 'git', 'archive', 'dir'])
29 # configuration to use this component with sat
34 component_name : "%(NAME)s"
35 get_source : '%(get_method)s'
36 build_source : 'cmake'
44 archive_name : '%(target)s'
50 source_dir : $APPLICATION.workdir + $VARS.sep + 'SOURCES' + $VARS.sep + $name
51 build_dir : $APPLICATION.workdir + $VARS.sep + 'BUILD' + $VARS.sep + $name
62 is_SALOME_module : "yes"
63 is_salome_application : "yes"