diff options
| author | ruki <[email protected]> | 2015-06-26 11:35:29 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-26 11:35:29 +0800 |
| commit | 37247cc86d31c6134deca9819f9ffe8cfe253797 (patch) | |
| tree | 7787052bb60bfa86bab771513ef7015d9b7c8660 /tests | |
| parent | cd530f704a361fecba459bc8e3dc27cb1c6522c8 (diff) | |
set package script to project
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/console/src/demo/xmake.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/console/src/demo/xmake.lua b/tests/console/src/demo/xmake.lua index c61e09396..9de927495 100644 --- a/tests/console/src/demo/xmake.lua +++ b/tests/console/src/demo/xmake.lua @@ -24,6 +24,10 @@ add_target("demo_cpp") add_undefines("HELLO2") add_cxxflags("-DHELLO1") add_options("option1", "option2", "option3", "option4") + set_pkgscript( function (name, info) + print("package: " .. name) + return 1 + end) if plats("macosx", "ios") then |
