diff options
| author | ruki <[email protected]> | 2021-02-02 00:28:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-02-02 08:56:47 +0800 |
| commit | e0b610d9bd2e87828ac4fc5435aca1ff191fbb85 (patch) | |
| tree | 9241626d3b8c8a5be8c6fdc00186349eadc10d1d /xmake/core/project/requireinfo.lua | |
| parent | 3fd3d534399ba5610434f947859587b4636591b1 (diff) | |
improve llvm toolchain
Diffstat (limited to 'xmake/core/project/requireinfo.lua')
| -rw-r--r-- | xmake/core/project/requireinfo.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/project/requireinfo.lua b/xmake/core/project/requireinfo.lua index 0c90e6fb5..218f346ff 100644 --- a/xmake/core/project/requireinfo.lua +++ b/xmake/core/project/requireinfo.lua @@ -108,6 +108,11 @@ function requireinfo:requirestr() return self:get("__requirestr") end +-- get the install directory +function requireinfo:installdir() + return self:get("__installdir") +end + -- get the extra info from the given name function requireinfo:extra(name) local extrainfo = self:extrainfo() |
