back to unicode
[MPC.git] / modules / VC9WorkspaceCreator.pm
blob355d81563483136ed58c915b53c536c9647da89f
1 package VC9WorkspaceCreator;
3 # ************************************************************
4 # Description : A VC9 Workspace Creator
5 # Author : Johnny Willemsen
6 # Create Date : 11/22/2007
7 # ************************************************************
9 # ************************************************************
10 # Pragmas
11 # ************************************************************
13 use strict;
15 use VC9ProjectCreator;
16 use VC8WorkspaceCreator;
18 use vars qw(@ISA);
19 @ISA = qw(VC8WorkspaceCreator);
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 10.00', $crlf;
31 $self->print_workspace_comment($fh,
32 '# Visual Studio 2008', $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);
41 sub website_trailing_slash {
42 return 0;
45 sub website_extra_props {
46 my($self, $fh) = @_;
47 print $fh "\t\t" . 'TargetFramework = "3.5"' . $self->crlf();