Subversion Repositories gelsvn

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
107 bj 1
package VC8WorkspaceCreator;
2
 
3
# ************************************************************
4
# Description   : A VC8 Workspace Creator
5
# Author        : Johnny Willemsen
6
# Create Date   : 4/21/2004
7
# ************************************************************
8
 
9
# ************************************************************
10
# Pragmas
11
# ************************************************************
12
 
13
use strict;
14
 
15
use VC8ProjectCreator;
16
use VC71WorkspaceCreator;
17
 
18
use vars qw(@ISA);
19
@ISA = qw(VC71WorkspaceCreator);
20
 
21
# ************************************************************
22
# Subroutine Section
23
# ************************************************************
24
 
25
 
26
sub pre_workspace {
27
  my($self) = shift;
28
  my($fh)   = shift;
29
  my($crlf) = $self->crlf();
30
 
198 bj 31
  print $fh '', $crlf,
107 bj 32
            'Microsoft Visual Studio Solution File, Format Version 9.00', $crlf,
33
            '# Visual Studio 2005', $crlf,
34
            '# $Id: VC8WorkspaceCreator.pm 198 2005-12-15 11:30:53Z bj $', $crlf,
35
            '#', $crlf,
36
            '# This file was generated by MPC.  Any changes made directly to', $crlf,
37
            '# this file will be lost the next time it is generated.', $crlf,
38
            '#', $crlf,
39
            '# MPC Command:', $crlf,
40
            "# $0 @ARGV", $crlf;
41
}
42
 
43
sub get_short_config_name {
44
  my($self) = shift;
45
  my($cfg)  = shift;
46
  return $cfg;
47
}
48
 
49
sub get_solution_config_section_name {
50
  #my($self) = shift;
51
  return 'SolutionConfigurationPlatforms';
52
}
53
 
54
sub get_project_config_section_name {
55
  #my($self) = shift;
56
  return 'ProjectConfigurationPlatforms';
57
}
58
 
59
sub print_additional_sections {
60
  my($self) = shift;
61
  my($fh)   = shift;
62
  my($crlf) = $self->crlf();
63
 
64
  print $fh "\tGlobalSection(SolutionProperties) = preSolution$crlf",
65
            "\t\tHideSolutionNode = FALSE$crlf",
66
            "\tEndGlobalSection$crlf";
67
}
68
 
69
sub allow_empty_dependencies {
70
  #my($self) = shift;
71
  return 0;
72
}
73
 
74
 
75
 
76
1;