diff options
Diffstat (limited to 'xmake/tools/swiftc.lua')
| -rw-r--r-- | xmake/tools/swiftc.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/tools/swiftc.lua b/xmake/tools/swiftc.lua index 4fdca0f18..5b4823416 100644 --- a/xmake/tools/swiftc.lua +++ b/xmake/tools/swiftc.lua @@ -170,6 +170,13 @@ function nf_undefine(macro) return "-Xcc -U" .. macro end +-- make the framework flag +function nf_framework(framework) + + -- make it + return "-framework" .. framework +end + -- make the compile command function compcmd(sourcefile, objectfile, flags) |
