summaryrefslogtreecommitdiff
path: root/modules/IARProjectCreator.pm
blob: e509f613b9358ef6ae30a4cc89596b4530808f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package IARProjectCreator;

# ************************************************************
# Description   : The IAR Embedded Workbench IDE Project Creator
# Author        : Chad Elliott
# Create Date   : 4/8/2019
# ************************************************************

# ************************************************************
# Pragmas
# ************************************************************

use strict;

use ProjectCreator;
use XMLProjectBase;
use WinProjectBase;

use vars qw(@ISA);
@ISA = qw(XMLProjectBase WinProjectBase ProjectCreator);

# ************************************************************
# Data Section
# ************************************************************

my $tmpl = 'iar';

# ************************************************************
# Subroutine Section
# ************************************************************

sub compare_output {
  #my $self = shift;
  return 1;
}

sub dependency_is_filename {
  #my $self = shift;
  return 0;
}

sub project_file_extension {
  return '.ewp';
}


sub get_lib_exe_template_input_file {
  return $tmpl;
}


sub get_lib_template_input_file {
  return $tmpl;
}


sub get_dll_exe_template_input_file {
  return $tmpl;
}


sub get_dll_template_input_file {
  return $tmpl;
}


sub get_template {
  return $tmpl . '.mpd';
}


sub get_cmdsep_symbol {
  #my $self = shift;
  return '&';
}


sub aggressive_relative_replacement {
  #my $self = shift;
  return 1;
}


1;