Deprecate github running MacOS 10.15 and add MacOS 12
[MPC.git] / modules / EM3WorkspaceCreator.pm
blobe75fc131ae800a3521b3557f332f314714062767
1 package EM3WorkspaceCreator;
3 # ************************************************************
4 # Description : An eMbedded v3 Workspace Creator
5 # Author : Chad Elliott
6 # Create Date : 7/3/2002
7 # ************************************************************
9 # ************************************************************
10 # Pragmas
11 # ************************************************************
13 use strict;
15 use EM3ProjectCreator;
16 use VC6WorkspaceCreator;
18 use vars qw(@ISA);
19 @ISA = qw(VC6WorkspaceCreator);
21 # ************************************************************
22 # Subroutine Section
23 # ************************************************************
26 sub workspace_file_extension {
27 #my $self = shift;
28 return '.vcw';
32 sub pre_workspace {
33 my($self, $fh) = @_;
34 my $crlf = $self->crlf();
36 ## This identifies it as a Visual C++ for WinCE file
37 print $fh 'Microsoft eMbedded Visual Tools Workspace File, Format Version 3.00', $crlf;
39 ## Optionally print the workspace comment
40 $self->print_workspace_comment($fh,
41 '#', $crlf,
42 '# This file was generated by MPC. Any changes made directly to', $crlf,
43 '# this file will be lost the next time it is generated.', $crlf,
44 '#', $crlf,
45 '# MPC Command:', $crlf,
46 '# ', $self->create_command_line_string($0, @ARGV), $crlf,
47 $crlf);