diff options
| author | ruki <[email protected]> | 2024-03-22 09:34:36 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-22 09:34:36 +0800 |
| commit | 79c2f18baaa956c6a39888916993265184217f41 (patch) | |
| tree | 3c2ed48f4b394f54d9b62549a3cf0ea2eeb16fac | |
| parent | 5f320b5a8c3e4ee411d602ac8cd43f2d2aca2563 (diff) | |
| parent | 80b1bec04038fa5671f4b0f1ceb815645e469a6b (diff) | |
Merge pull request #4862 from Arthapz/fix-moduleonly-installation
fix moduleonly libraries headers installation
| -rw-r--r-- | xmake/modules/target/action/install/unix.lua | 5 | ||||
| -rw-r--r-- | xmake/modules/target/action/install/windows.lua | 5 | ||||
| -rw-r--r-- | xmake/modules/target/action/uninstall/unix.lua | 5 | ||||
| -rw-r--r-- | xmake/modules/target/action/uninstall/windows.lua | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/xmake/modules/target/action/install/unix.lua b/xmake/modules/target/action/install/unix.lua index 04dd60a01..71a6df42b 100644 --- a/xmake/modules/target/action/install/unix.lua +++ b/xmake/modules/target/action/install/unix.lua @@ -154,3 +154,8 @@ end function install_headeronly(target, opt) _install_headers(target, opt) end + +-- install moduleonly library +function install_moduleonly(target, opt) + _install_headers(target, opt) +end diff --git a/xmake/modules/target/action/install/windows.lua b/xmake/modules/target/action/install/windows.lua index d1e0ecbdf..d7b71387c 100644 --- a/xmake/modules/target/action/install/windows.lua +++ b/xmake/modules/target/action/install/windows.lua @@ -156,3 +156,8 @@ end function install_headeronly(target, opt) _install_headers(target, opt) end + +-- install moduleonly +function install_moduleonly(target, opt) + _install_headers(target, opt) +end diff --git a/xmake/modules/target/action/uninstall/unix.lua b/xmake/modules/target/action/uninstall/unix.lua index 695fc1194..ce14c2c7b 100644 --- a/xmake/modules/target/action/uninstall/unix.lua +++ b/xmake/modules/target/action/uninstall/unix.lua @@ -130,3 +130,8 @@ end function uninstall_headeronly(target, opt) _uninstall_headers(target, opt) end + +-- uninstall moduleonly library +function uninstall_moduleonly(target, opt) + _uninstall_headers(target, opt) +end diff --git a/xmake/modules/target/action/uninstall/windows.lua b/xmake/modules/target/action/uninstall/windows.lua index 93d7df4be..338f8c707 100644 --- a/xmake/modules/target/action/uninstall/windows.lua +++ b/xmake/modules/target/action/uninstall/windows.lua @@ -108,3 +108,8 @@ end function uninstall_headeronly(target, opt) _uninstall_headers(target, opt) end + +-- uninstall moduleonly library +function uninstall_moduleonly(target, opt) + _uninstall_headers(target, opt) +end |
