diff options
| author | ruki <[email protected]> | 2023-01-18 22:33:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-18 22:33:56 +0800 |
| commit | 20f135e26e3597b8cc4fc2061207f94e98a5f006 (patch) | |
| tree | 55fc607d12786a3cd50559b1eb491a7b6dc8d7d6 /xmake/rules/verilator/xmake.lua | |
| parent | 72d7a6249592bed6429c2e62989f9c5eeebe8bb1 (diff) | |
fix verilator for windows
Diffstat (limited to 'xmake/rules/verilator/xmake.lua')
| -rw-r--r-- | xmake/rules/verilator/xmake.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/rules/verilator/xmake.lua b/xmake/rules/verilator/xmake.lua index c75972f8d..cc7a24b27 100644 --- a/xmake/rules/verilator/xmake.lua +++ b/xmake/rules/verilator/xmake.lua @@ -29,6 +29,10 @@ rule("verilator.binary") import("verilator").config(target) end) + before_build_files(function (target, sourcebatch) + -- Just to avoid before_buildcmd_files being executed at build time + end) + on_build_files(function (target, batchjobs, sourcebatch, opt) import("verilator").build_cppfiles(target, batchjobs, sourcebatch, opt) end, {batch = true, distcc = true}) |
