File tree 4 files changed +20
-0
lines changed
4 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 170
170
"type" : " boolean" ,
171
171
"description" : " Skip unrecognized files instead of copying them to the pdx folder" ,
172
172
"default" : false
173
+ },
174
+ "libPath" : {
175
+ "type" : " array" ,
176
+ "description" : " List of paths to additional libraries to include in the build" ,
177
+ "items" : {
178
+ "type" : " string"
179
+ },
180
+ "default" : []
173
181
}
174
182
}
175
183
},
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export class PDCExecutionFactory implements TaskExecutionFactory {
44
44
verbose,
45
45
quiet,
46
46
skipUnknown,
47
+ libPath,
47
48
sdkPath : sdkPathDef ,
48
49
sourcePath : sourcePathDef ,
49
50
gamePath : gamePathDef ,
@@ -65,6 +66,7 @@ export class PDCExecutionFactory implements TaskExecutionFactory {
65
66
verbose,
66
67
quiet,
67
68
skipUnknown,
69
+ libPath,
68
70
incrementBuildNumber,
69
71
sdkVersion,
70
72
} ) ;
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ export interface PDCTaskRunnerOptions {
25
25
skipUnknown ?: boolean ;
26
26
incrementBuildNumber ?: boolean ;
27
27
sdkVersion : string ;
28
+ libPath ?: string [ ] ;
28
29
}
29
30
30
31
/**
@@ -65,6 +66,7 @@ export class PDCTaskRunner implements TaskRunner {
65
66
verbose,
66
67
quiet,
67
68
skipUnknown,
69
+ libPath,
68
70
sdkVersion,
69
71
} = this . options ;
70
72
@@ -77,6 +79,7 @@ export class PDCTaskRunner implements TaskRunner {
77
79
verbose,
78
80
quiet,
79
81
skipUnknown,
82
+ libPath,
80
83
sdkVersion,
81
84
} ;
82
85
}
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export interface GetPDCCommandOptions {
12
12
verbose ?: boolean ;
13
13
quiet ?: boolean ;
14
14
skipUnknown ?: boolean ;
15
+ libPath ?: string [ ] ;
15
16
sdkVersion : string ;
16
17
}
17
18
@@ -25,6 +26,7 @@ export function getPDCCommand(options: GetPDCCommandOptions) {
25
26
verbose,
26
27
quiet,
27
28
skipUnknown,
29
+ libPath,
28
30
sdkVersion,
29
31
} = options ;
30
32
@@ -55,6 +57,11 @@ export function getPDCCommand(options: GetPDCCommandOptions) {
55
57
if ( skipUnknown ) {
56
58
optionalArgs . push ( "--skip-unknown" ) ;
57
59
}
60
+ if ( libPath ) {
61
+ libPath . forEach ( ( lib ) => {
62
+ optionalArgs . push ( "--libpath" , quote ( lib ) ) ;
63
+ } ) ;
64
+ }
58
65
59
66
const requiredArgs = [
60
67
"-sdkpath" ,
You can’t perform that action at this time.
0 commit comments