1 package VS2022ProjectCreator
;
3 # ************************************************************
4 # Description : vs2022 (Visual Studio 2022) Project Creator
5 # ************************************************************
7 # ************************************************************
9 # ************************************************************
13 use VC12ProjectCreator
;
16 @ISA = qw(VC12ProjectCreator);
18 ## NOTE: We call the constant as a function to support Perl 5.6.
19 my %info = (Creator
::cplusplus
() => {'ext' => '.vcxproj',
20 'dllexe' => 'vs2022exe',
21 'libexe' => 'vs2022libexe',
24 'template' => [ 'vc10', 'vc10filters' ],
28 my %config = ('vcversion' => '16.00',
29 'toolsversion' => '16.0',
32 # ************************************************************
34 # ************************************************************
39 ## If we have the setting in our information map, then use it.
40 return $info{$key} if (defined $info{$key});
42 ## Otherwise, see if our parent type can take care of it.
43 return $self->SUPER::get_info_hash
($key);
46 sub get_configurable
{
47 my($self, $name) = @_;
49 ## If we have the setting in our config map, then use it.
50 return $config{$name} if (defined $config{$name});
52 ## Otherwise, see if our parent type can take care of it.
53 return $self->SUPER::get_configurable
($name);