diff options
| author | ruki <[email protected]> | 2016-12-19 09:38:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-01-06 17:20:08 +0800 |
| commit | 32991ba6fad3bbc6c2069d9840a17347e60182e6 (patch) | |
| tree | a99fe947c76a868a38e22c54d45dd022f97fd2d2 /xmake/languages/objc++/xmake.lua | |
| parent | f7a4d5e18d50ccaa23adfcb06358f9368770ed6a (diff) | |
add languages
Diffstat (limited to 'xmake/languages/objc++/xmake.lua')
| -rwxr-xr-x | xmake/languages/objc++/xmake.lua | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/xmake/languages/objc++/xmake.lua b/xmake/languages/objc++/xmake.lua new file mode 100755 index 000000000..d1fc66182 --- /dev/null +++ b/xmake/languages/objc++/xmake.lua @@ -0,0 +1,43 @@ +--!The Make-like Build Utility based on Lua +-- +-- XMake is free software; you can redistribute it and/or modify +-- it under the terms of the GNU Lesser General Public License as published by +-- the Free Software Foundation; either version 2.1 of the License, or +-- (at your option) any later version. +-- +-- XMake is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Lesser General Public License for more details. +-- +-- You should have received a copy of the GNU Lesser General Public License +-- along with XMake; +-- If not, see <a href="http://www.gnu.org/licenses/"> http://www.gnu.org/licenses/</a> +-- +-- Copyright (C) 2015 - 2016, ruki All rights reserved. +-- +-- @author ruki +-- @file xmake.lua +-- + +-- define language +language("objc++") + + -- set source file kinds + set_sourcekinds(".mm") + + -- on load + on_load(function () + + -- init flags + _g.mxflags = {} + _g.mxxflags = {} + _g.ldflags = {} + _g.arflags = {} + _g.shflags = {} + + end) + + + + |
