diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2019-03-28 17:43:41 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2019-03-28 17:43:41 +0100 |
commit | 343743795141108290b1f82e6e385e9e4345a0cc (patch) | |
tree | 2a14ab0c4e59eb728457c36f9ee4d4311a2680c0 /modules/VS2019WorkspaceCreator.pm | |
parent | 5f29487820da1c033d111ac9fd3d32071b4d3d9c (diff) | |
download | MPC-343743795141108290b1f82e6e385e9e4345a0cc.tar.gz |
New vs2019 files
* modules/VS2019ProjectCreator.pm:
* modules/VS2019WorkspaceCreator.pm:
Added.
Diffstat (limited to 'modules/VS2019WorkspaceCreator.pm')
-rw-r--r-- | modules/VS2019WorkspaceCreator.pm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/modules/VS2019WorkspaceCreator.pm b/modules/VS2019WorkspaceCreator.pm new file mode 100644 index 00000000..be265968 --- /dev/null +++ b/modules/VS2019WorkspaceCreator.pm @@ -0,0 +1,41 @@ +package VS2019WorkspaceCreator; + +# ************************************************************ +# Description : A vs2019 (Visual Studio 2019) Workspace Creator +# Author : Johnny Willemsen +# Create Date : 28/03/2019 +# ************************************************************ + +# ************************************************************ +# Pragmas +# ************************************************************ + +use strict; + +use VS2019ProjectCreator; +use VC12WorkspaceCreator; + +use vars qw(@ISA); +@ISA = qw(VC12WorkspaceCreator); + +# ************************************************************ +# Subroutine Section +# ************************************************************ + +sub pre_workspace { + my($self, $fh) = @_; + my $crlf = $self->crlf(); + + print $fh '', $crlf, + 'Microsoft Visual Studio Solution File, Format Version 12.00', $crlf; + $self->print_workspace_comment($fh, + '# Visual Studio 16', $crlf, + '#', $crlf, + '# This file was generated by MPC. Any changes made directly to', $crlf, + '# this file will be lost the next time it is generated.', $crlf, + '#', $crlf, + '# MPC Command:', $crlf, + '# ', $self->create_command_line_string($0, @ARGV), $crlf); +} + +1; |