diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2009-05-07 15:44:53 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2009-05-07 15:44:53 +0000 |
commit | 27d14dd78fd850e1edf88289d5be521333db2fc3 (patch) | |
tree | 84a26ca2281bb3c01a9bf662f17154cc4a49e54f /modules/GHSProjectCreator.pm | |
parent | f385d046c86cfd46a2a13937acaaa863e6c2df38 (diff) | |
download | MPC-27d14dd78fd850e1edf88289d5be521333db2fc3.tar.gz |
ChangeLogTag: Thu May 7 15:39:17 UTC 2009 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/GHSProjectCreator.pm')
-rw-r--r-- | modules/GHSProjectCreator.pm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/GHSProjectCreator.pm b/modules/GHSProjectCreator.pm index 9b4bfd3e..af29cd80 100644 --- a/modules/GHSProjectCreator.pm +++ b/modules/GHSProjectCreator.pm @@ -151,4 +151,18 @@ sub get_dll_template_input_file { } +sub get_properties { + my $self = shift; + + ## Get the base class properties and add the properties that we + ## support. + my $props = $self->ProjectCreator::get_properties(); + + ## This project creator can work for UNIX and Windows. Set the + ## property based on the environment variable. + $$props{'windows'} = 1 if (!defined $ENV{$ghsunix}); + + return $props; +} + 1; |