Whitespace changes
[MPC.git] / modules / VC14ProjectCreator.pm
bloba85cfe954ba40106b9896e0fe8d347c1b86cf376
1 package VC14ProjectCreator;
3 # ************************************************************
4 # Description : A vc14 (Visual Studio 2015) Project Creator
5 # Author : Johnny Willemsen
6 # Create Date : 6/04/2014
7 # ************************************************************
9 # ************************************************************
10 # Pragmas
11 # ************************************************************
13 use strict;
15 use VC12ProjectCreator;
17 use vars qw(@ISA);
18 @ISA = qw(VC12ProjectCreator);
20 ## NOTE: We call the constant as a function to support Perl 5.6.
21 my %info = (Creator::cplusplus() => {'ext' => '.vcxproj',
22 'dllexe' => 'vc14exe',
23 'libexe' => 'vc14libexe',
24 'dll' => 'vc14dll',
25 'lib' => 'vc14lib',
26 'template' => [ 'vc10', 'vc10filters' ],
30 my %config = ('vcversion' => '14.00',
31 'toolsversion' => '14.0',
34 # ************************************************************
35 # Subroutine Section
36 # ************************************************************
38 sub get_info_hash {
39 my($self, $key) = @_;
41 ## If we have the setting in our information map, then use it.
42 return $info{$key} if (defined $info{$key});
44 ## Otherwise, see if our parent type can take care of it.
45 return $self->SUPER::get_info_hash($key);
48 sub get_configurable {
49 my($self, $name) = @_;
51 ## If we have the setting in our config map, then use it.
52 return $config{$name} if (defined $config{$name});
54 ## Otherwise, see if our parent type can take care of it.
55 return $self->SUPER::get_configurable($name);