summaryrefslogtreecommitdiff
path: root/bin/MakeProjectCreator/modules/WorkspaceCreator.pm
diff options
context:
space:
mode:
Diffstat (limited to 'bin/MakeProjectCreator/modules/WorkspaceCreator.pm')
-rw-r--r--bin/MakeProjectCreator/modules/WorkspaceCreator.pm16
1 files changed, 16 insertions, 0 deletions
diff --git a/bin/MakeProjectCreator/modules/WorkspaceCreator.pm b/bin/MakeProjectCreator/modules/WorkspaceCreator.pm
index 318bce329d2..78270ac90bd 100644
--- a/bin/MakeProjectCreator/modules/WorkspaceCreator.pm
+++ b/bin/MakeProjectCreator/modules/WorkspaceCreator.pm
@@ -35,6 +35,8 @@ sub new {
my($inc) = shift;
my($template) = shift;
my($ti) = shift;
+ my($dynamic) = shift;
+ my($static) = shift;
my($self) = Creator::new($class, $global, $inc,
$template, $ti, 'workspace');
my($typecheck) = $self->{'type_check'};
@@ -45,6 +47,8 @@ sub new {
$self->{'project_info'} = {};
$self->{'reading_parent'} = [];
$self->{'project_files'} = [];
+ $self->{'dynamic'} = $dynamic;
+ $self->{'static'} = $static;
return $self;
}
@@ -300,6 +304,18 @@ sub get_project_info {
}
+sub get_dynamic {
+ my($self) = shift;
+ return $self->{'dynamic'};
+}
+
+
+sub get_static {
+ my($self) = shift;
+ return $self->{'static'};
+}
+
+
sub sort_dependencies {
my($self) = shift;
my($projects) = shift;