Merge pull request #224 from DOCGroup/jwillemsen-patch-1
[MPC.git] / modules / VS2022WorkspaceCreator.pm
blobf3ad9d543a9fef8b333b77eb2aeadc0a09d460cf
1 package VS2022WorkspaceCreator;
3 # ************************************************************
4 # Description : vs2022 (Visual Studio 2022) Workspace Creator
5 # ************************************************************
7 # ************************************************************
8 # Pragmas
9 # ************************************************************
11 use strict;
13 use VS2022ProjectCreator;
14 use VC12WorkspaceCreator;
16 use vars qw(@ISA);
17 @ISA = qw(VC12WorkspaceCreator);
19 # ************************************************************
20 # Subroutine Section
21 # ************************************************************
23 sub pre_workspace {
24 my($self, $fh) = @_;
25 my $crlf = $self->crlf();
27 print $fh '', $crlf,
28 'Microsoft Visual Studio Solution File, Format Version 12.00', $crlf;
29 $self->print_workspace_comment($fh,
30 '# Visual Studio Version 17', $crlf,
31 '#', $crlf,
32 '# This file was generated by MPC. Any changes made directly to', $crlf,
33 '# this file will be lost the next time it is generated.', $crlf,
34 '#', $crlf,
35 '# MPC Command:', $crlf,
36 '# ', $self->create_command_line_string($0, @ARGV), $crlf);