Merge pull request #228 from DOCGroup/jwillemsen-patch-1
[MPC.git] / modules / VC11WorkspaceCreator.pm
blobc1387fdddb4d9c76ad743c0449ef6fc3edefca48
1 package VC11WorkspaceCreator;
3 # ************************************************************
4 # Description : A VC11 Workspace Creator
5 # Author : Johnny Willemsen
6 # Create Date : 12/12/2011
7 # ************************************************************
9 # ************************************************************
10 # Pragmas
11 # ************************************************************
13 use strict;
15 use VC11ProjectCreator;
16 use VC10WorkspaceCreator;
18 use vars qw(@ISA);
19 @ISA = qw(VC10WorkspaceCreator);
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 11.00', $crlf;
31 $self->print_workspace_comment($fh,
32 '# Visual Studio 2012', $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);