diff options
| author | ruki <[email protected]> | 2018-05-05 00:42:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-05-04 22:12:14 +0800 |
| commit | 3567313cb859aa88e71ef9aa84e484f09fbccce8 (patch) | |
| tree | 315ceac7102e8b09cd654f813fd58afc14afb603 /xmake/rules/wdk/xmake.lua | |
| parent | 95af67cc06c76559599b79cfd057b1253bfdc95c (diff) | |
add values api to target
Diffstat (limited to 'xmake/rules/wdk/xmake.lua')
| -rw-r--r-- | xmake/rules/wdk/xmake.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/rules/wdk/xmake.lua b/xmake/rules/wdk/xmake.lua index 047bfe573..a2a57de52 100644 --- a/xmake/rules/wdk/xmake.lua +++ b/xmake/rules/wdk/xmake.lua @@ -136,10 +136,10 @@ rule("wdk.tracewpp") if target:rule("wdk.kmdf.driver") then table.insert(args, "-km") table.insert(args, "-gen:{km-WdfDefault.tpl}*.tmh") - - -- TODO - table.insert(args, "-func:TraceEvents(LEVEL,FLAGS,MSG,...)") - table.insert(args, "-func:Hexdump((LEVEL,FLAGS,MSG,...))") + end + local flags = target:values("wdk.tracewpp.flags") + if flags then + table.join2(args, flags) end table.insert(args, "-cfgdir:" .. configdir) table.insert(args, "-odir:" .. outputdir) |
