diff options
| author | ruki <[email protected]> | 2022-08-09 10:52:30 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-09 10:52:30 +0800 |
| commit | d025377baf093a035e11fccc68309a49ae6da471 (patch) | |
| tree | b4b59671a866348f471985125d3382d700cfe78c /tests | |
| parent | 46cf0ad2545d829a255e88371660dfe8bb11de22 (diff) | |
| parent | af7118dcc94785f628abe1cea5cd030514ea9e88 (diff) | |
Merge pull request #2649 from xmake-io/batchjobs
Adding parallel compilation support for c++ modules
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/apis/rules/xmake.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/apis/rules/xmake.lua b/tests/apis/rules/xmake.lua index 5a6e5d546..7d67f0dca 100644 --- a/tests/apis/rules/xmake.lua +++ b/tests/apis/rules/xmake.lua @@ -58,6 +58,12 @@ rule("stub2") after_build(function (target) print("rule(stub2): after_build") end) + before_build_files(function (target) + print("rule(stub2): before_build_files") + end) + after_build_files(function (target) + print("rule(stub2): after_build_files") + end) -- define rule: stub1 rule("stub1") @@ -148,3 +154,10 @@ target("test") add_files("src/index.md") add_files("src/test.c.in", {rule = "c code"}) + before_build(function (target) + print("target: before_build") + end) + + after_build(function (target) + print("target: after_build") + end) |
