Removed svn Id tag
[MPC.git] / modules / GHSPropertyBase.pm
blob7c624e8af42e99728ebfaf3b17f393dbbd6abc24
1 package GHSPropertyBase;
3 # ************************************************************
4 # Description : A GHS property base module.
5 # Author : Chad Elliott
6 # Create Date : 3/9/2010
7 # ************************************************************
9 # ************************************************************
10 # Pragmas
11 # ************************************************************
13 use strict;
15 # ************************************************************
16 # Data Section
17 # ************************************************************
19 our $ghsunix = 'MPC_GHS_UNIX';
21 # ************************************************************
22 # Subroutine Section
23 # ************************************************************
25 sub get_properties {
26 my $self = shift;
28 ## Get the base class properties and add the properties that we
29 ## support.
30 my $props = $self->Creator::get_properties();
32 ## This project creator can work for UNIX and Windows. Set the
33 ## property based on the environment variable.
34 $$props{'windows'} = 1 if (!defined $ENV{$ghsunix});
36 return $props;