summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-03-21 15:48:57 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-03-21 15:48:57 +0000
commit1802d8da8133182e34ec72e196fba13e88e29912 (patch)
tree4b85d542a8619fab2043ffdc99745a7b32bd3756
parentb8efc980e98641ba28bc464ea4d3d94f9f2d825a (diff)
downloadMPC-1802d8da8133182e34ec72e196fba13e88e29912.tar.gz
ChangeLogTag: Fri Mar 21 09:48:33 2003 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--modules/Driver.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/Driver.pm b/modules/Driver.pm
index a57858f1..81e2c440 100644
--- a/modules/Driver.pm
+++ b/modules/Driver.pm
@@ -61,7 +61,7 @@ sub usageAndExit {
"Usage: $base [-global <file>] [-include <directory>] [-recurse]\n" .
$spaces . "[-ti <dll | lib | dll_exe | lib_exe>:<file>]\n" .
$spaces . "[-template <file>] [-relative NAME=VAR]\n" .
- $spaces . "[-noreldefs] [-notoplevel] [-static]\n" .
+ $spaces . "[-noreldefs] [-notoplevel] [-static] [-static_only]\n" .
$spaces . "[-value_template <NAME+=VAL | NAME=VAL | NAME-=VAL>]\n" .
$spaces . "[-value_project <NAME+=VAL | NAME=VAL | NAME-=VAL>]\n" .
$spaces . "[-type <";
@@ -92,6 +92,7 @@ sub usageAndExit {
" -template Specifies the template name (with no extension).\n" .
" -static Specifies that static projects will be generated in\n" .
" addition to dynamic projects.\n" .
+" -static_only Specifies that only static projects will be generated.\n" .
" -recurse Recurse from the current directory and generate from\n" .
" all found input files.\n" .
" -relative Any \$() variable in an mpc that is matched to NAME\n" .
@@ -334,6 +335,10 @@ sub run {
elsif ($arg eq '-static') {
$static = 1;
}
+ elsif ($arg eq '-static_only') {
+ $static = 1;
+ $dynamic = 0;
+ }
elsif ($arg =~ /^-/) {
$self->usageAndExit();
}