1 package WB26ProjectCreator
;
3 # ************************************************************
4 # Description : Workbench 2.6 / VxWorks 6.4 generator
5 # Author : Johnny Willemsen
6 # Create Date : 07/01/2008
7 # ************************************************************
9 # ************************************************************
11 # ************************************************************
18 @ISA = qw(ProjectCreator);
20 # ************************************************************
22 # ************************************************************
24 my %templates = ('wb26' => '.project',
25 'wb26wrproject' => '.wrproject',
26 'wb26wrmakefile' => '.wrmakefile');
27 my @tkeys = sort keys %templates;
29 # ************************************************************
31 # ************************************************************
38 sub project_file_name
{
39 my($self, $name, $template) = @_;
41 ## Fill in the name and template if they weren't provided
42 $name = $self->project_name() if (!defined $name);
43 $template = 'wb26' if (!defined $template || !defined $templates{$template});
45 if ($self->{'make_coexistence'}) {
46 return $self->get_modified_project_file_name($name,
47 '/' . $templates{$template});
50 return $templates{$template};
59 sub dependency_is_filename
{
64 sub requires_forward_slashes
{
69 ## We only want the project file visible to the workspace creator.
70 ## There can only be one and this is it.
71 #my($self, $template) = @_;
72 return $_[1] eq 'wb26';
75 sub get_dll_exe_template_input_file
{
80 sub get_dll_template_input_file
{