Whitespace changes
[MPC.git] / modules / NMakeProjectCreator.pm
blobf16193b81f06c57d83a0136b19ad96fc1d8cfaeb
1 package NMakeProjectCreator;
3 # ************************************************************
4 # Description : An NMake Project Creator
5 # Author : Chad Elliott
6 # Create Date : 5/31/2002
7 # ************************************************************
9 # ************************************************************
10 # Pragmas
11 # ************************************************************
13 use strict;
15 use ProjectCreator;
16 use WinProjectBase;
17 use MakeProjectBase;
18 use VCPropertyBase;
20 use vars qw(@ISA);
21 @ISA = qw(MakeProjectBase WinProjectBase ProjectCreator VCPropertyBase);
23 # ************************************************************
24 # Subroutine Section
25 # ************************************************************
27 sub project_file_extension {
28 #my $self = shift;
29 return '.mak';
33 sub get_dll_exe_template_input_file {
34 #my $self = shift;
35 return 'nmakeexe';
39 sub get_dll_template_input_file {
40 #my $self = shift;
41 return 'nmakedll';
45 sub get_properties {
46 my $self = shift;
48 ## Create the map of properties that we support.
49 my $props = {};
51 ## Merge in properties from all base projects
52 foreach my $base (@ISA) {
53 my $func = $base . '::get_properties';
54 my $p = $self->$func();
55 foreach my $key (keys %$p) {
56 $$props{$key} = $$p{$key};
60 return $props;