summaryrefslogtreecommitdiff
path: root/modules/VC8WorkspaceCreator.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2005-05-16 16:41:30 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2005-05-16 16:41:30 +0000
commit0ef5e7ad0ee429288fe764a289f1414e9c41a3f8 (patch)
treeca26d7a27add93d0f589cd14e27c15af019f09fe /modules/VC8WorkspaceCreator.pm
parent987bae628b60ded8ca0aca53d305392642ee0fa3 (diff)
downloadMPC-0ef5e7ad0ee429288fe764a289f1414e9c41a3f8.tar.gz
ChangeLogTag: Mon May 16 11:36:29 2005 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/VC8WorkspaceCreator.pm')
-rw-r--r--modules/VC8WorkspaceCreator.pm37
1 files changed, 35 insertions, 2 deletions
diff --git a/modules/VC8WorkspaceCreator.pm b/modules/VC8WorkspaceCreator.pm
index 29dc9286..2d826543 100644
--- a/modules/VC8WorkspaceCreator.pm
+++ b/modules/VC8WorkspaceCreator.pm
@@ -28,8 +28,9 @@ sub pre_workspace {
my($fh) = shift;
my($crlf) = $self->crlf();
- print $fh 'Microsoft Visual Studio Solution File, Format Version 9.00', $crlf,
- '#', $crlf,
+ print $fh $crlf,
+ 'Microsoft Visual Studio Solution File, Format Version 9.00', $crlf,
+ '# Visual Studio 2005', $crlf,
'# $Id$', $crlf,
'#', $crlf,
'# This file was generated by MPC. Any changes made directly to', $crlf,
@@ -39,5 +40,37 @@ sub pre_workspace {
"# $0 @ARGV", $crlf;
}
+sub get_short_config_name {
+ my($self) = shift;
+ my($cfg) = shift;
+ return $cfg;
+}
+
+sub get_solution_config_section_name {
+ #my($self) = shift;
+ return 'SolutionConfigurationPlatforms';
+}
+
+sub get_project_config_section_name {
+ #my($self) = shift;
+ return 'ProjectConfigurationPlatforms';
+}
+
+sub print_additional_sections {
+ my($self) = shift;
+ my($fh) = shift;
+ my($crlf) = $self->crlf();
+
+ print $fh "\tGlobalSection(SolutionProperties) = preSolution$crlf",
+ "\t\tHideSolutionNode = FALSE$crlf",
+ "\tEndGlobalSection$crlf";
+}
+
+sub allow_empty_dependencies {
+ #my($self) = shift;
+ return 0;
+}
+
+
1;