Merge pull request #228 from DOCGroup/jwillemsen-patch-1
[MPC.git] / modules / VS2017WorkspaceCreator.pm
bloba968f4114140e4c086f68f5020b71c8c0f989d0a
1 package VS2017WorkspaceCreator;
3 # ************************************************************
4 # Description : A vs2017 (Visual Studio 2017) Workspace Creator
5 # Author : Johnny Willemsen
6 # Create Date : 01/05/2016
7 # ************************************************************
9 # ************************************************************
10 # Pragmas
11 # ************************************************************
13 use strict;
15 use VS2017ProjectCreator;
16 use VC12WorkspaceCreator;
18 use vars qw(@ISA);
19 @ISA = qw(VC12WorkspaceCreator);
21 # ************************************************************
22 # Subroutine Section
23 # ************************************************************
25 sub pre_workspace {
26 my($self, $fh) = @_;
27 my $crlf = $self->crlf();
29 print $fh '', $crlf,
30 'Microsoft Visual Studio Solution File, Format Version 12.00', $crlf;
31 $self->print_workspace_comment($fh,
32 '# Visual Studio 15', $crlf,
33 '#', $crlf,
34 '# This file was generated by MPC. Any changes made directly to', $crlf,
35 '# this file will be lost the next time it is generated.', $crlf,
36 '#', $crlf,
37 '# MPC Command:', $crlf,
38 '# ', $self->create_command_line_string($0, @ARGV), $crlf);