diff options
author | ocielliottc <elliottc@objectcomputing.com> | 2023-04-26 10:35:51 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 10:35:51 -0500 |
commit | 4cbc59f2e70ceb74c9dec65b57b02b1c2397f961 (patch) | |
tree | f45a8cdc36c703a9c41d2730e3a2801079c1a053 /modules | |
parent | 516e0a2bdb9ec407b220f84e5df6cfe933d29f02 (diff) | |
parent | 62c44927b0616a85e9b5afed5975678d97343c18 (diff) | |
download | MPC-master.tar.gz |
Random minor changes
Diffstat (limited to 'modules')
-rw-r--r-- | modules/CommandHelper.pm | 1 | ||||
-rw-r--r-- | modules/MakeWorkspaceCreator.pm | 2 | ||||
-rw-r--r-- | modules/ProjectCreator.pm | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/modules/CommandHelper.pm b/modules/CommandHelper.pm index 2437edfc..98053a08 100644 --- a/modules/CommandHelper.pm +++ b/modules/CommandHelper.pm @@ -51,6 +51,7 @@ sub get { ## create a singleton of that type and return it. foreach my $inc (@INC) { if (-r "$inc/$type.pm") { + OutputMessage::debug(undef, "Found $type.pm in $inc"); require "$type.pm"; $required{$type} = $type->new(); return $required{$type}; diff --git a/modules/MakeWorkspaceCreator.pm b/modules/MakeWorkspaceCreator.pm index d8abd0f1..dc627f5f 100644 --- a/modules/MakeWorkspaceCreator.pm +++ b/modules/MakeWorkspaceCreator.pm @@ -38,7 +38,7 @@ sub write_project_targets { my $chdir = ($dname ne '.'); print $fh "\t\@", ($chdir ? "cd $dname && " : ''), - "\$(MAKE) -f ", + '"$(MAKE)" -f ', ($chdir ? $self->mpc_basename($project) : $project), " $target$crlf"; } diff --git a/modules/ProjectCreator.pm b/modules/ProjectCreator.pm index ea32c143..0ee9d27d 100644 --- a/modules/ProjectCreator.pm +++ b/modules/ProjectCreator.pm @@ -194,7 +194,7 @@ my $cppresource = 'resource_files'; my %cppvc = ('source_files' => [ "\\.cpp", "\\.cxx", "\\.cc", "\\.c", "\\.C", ], 'template_files' => [ "_T\\.cpp", "_T\\.cxx", "_T\\.cc", "_T\\.c", "_T\\.C", "_t\\.cpp", "_t\\.cxx", "_t\\.cc", "_t\\.c", "_t\\.C", "\\.tpp" ], 'header_files' => [ "\\.h", "\\.hpp", "\\.hxx", "\\.hh", ], - 'inline_files' => [ "\\.i", "\\.ipp", "\\.inl", ], + 'inline_files' => [ "\\.i", "\\.ipp", "\\.ixx", "\\.inl", ], 'documentation_files' => [ "README", "readme", "\\.doc", "\\.txt", "\\.html" ], $cppresource => [ "\\.rc", ], ); |