Expose private support for separate module in syncqt.
parent
a6fa179a23
commit
703842d450
|
|
@ -82,6 +82,7 @@ sub showUsage
|
|||
print " -outdir <PATH> Specify output directory for sync (default: $out_basedir)\n";
|
||||
print " -quiet Only report problems, not activity (default: " . ($quiet ? "yes" : "no") . ")\n";
|
||||
print " -separate-module <NAME>:<PROFILEDIR>:<HEADERDIR> Create headers for <NAME> with original headers in <HEADERDIR> relative to <PROFILEDIR> \n";
|
||||
print " -private Force copy private headers (default: " . ($create_private_headers ? "yes" : "no") . ")\n";
|
||||
print " -help This help\n";
|
||||
exit 0;
|
||||
}
|
||||
|
|
@ -589,6 +590,9 @@ while ( @ARGV ) {
|
|||
} elsif($arg eq "-quiet") {
|
||||
$var = "quiet";
|
||||
$val = "yes";
|
||||
} elsif($arg eq "-private") {
|
||||
$var = "create_private_headers";
|
||||
$val = "yes";
|
||||
} elsif($arg eq "-base-dir") {
|
||||
# skip, it's been dealt with at the top of the file
|
||||
shift @ARGV;
|
||||
|
|
@ -651,7 +655,6 @@ while ( @ARGV ) {
|
|||
push @modules_to_sync, $module;
|
||||
$moduleheaders{$module} = $headerdir;
|
||||
$create_uic_class_map = 0;
|
||||
$create_private_headers = 0;
|
||||
} elsif ($var eq "output") {
|
||||
my $outdir = $val;
|
||||
if(checkRelative($outdir)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue