summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-04-29 13:48:41 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-04-29 13:48:41 +0000
commit383d1368fd979a69bc94bc88d0016c5f5c513b2e (patch)
treeac8be7698a0227911ff19b888c16a5bac7007a09
parentd285e74276aa0b3f9b613789946d6dbf83be0ba7 (diff)
downloadMPC-383d1368fd979a69bc94bc88d0016c5f5c513b2e.tar.gz
ChangeLogTag: Tue Apr 29 08:47:16 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--modules/ProjectCreator.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm
index 7dddf6ae..f68552ea 100644
--- a/modules/ProjectCreator.pm
+++ b/modules/ProjectCreator.pm
@@ -767,6 +767,14 @@ sub generate_default_target_names {
last;
}
}
+
+ ## If we still don't have a project type, then we will
+ ## default to a library
+ if (!$self->exe_target()) {
+ my($base) = $self->base_directory();
+ $self->process_assignment('sharedname', $base);
+ $self->process_assignment('staticname', $base);
+ }
}
}
}