Skip to content

Commit 20bd8d8

Browse files
committed
add after_install
1 parent ac60b29 commit 20bd8d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/foo/xmake.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,10 @@ target "foo"
66
add_defines "FOO" "{public}"
77
add_undefines "BAZ" "{public}"
88
add_includedirs "." "{public}"
9+
after_install "foo_after_install"
10+
11+
foo_after_install() {
12+
local target=${1}
13+
local installdir=${2}
14+
echo "after installing ${target} ${installdir}"
15+
}

0 commit comments

Comments
 (0)