summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-24 00:52:45 +0800
committerruki <[email protected]>2021-09-24 00:52:45 +0800
commit286e9ba7ef2e83e5222dbaab40160b3c1ac967f5 (patch)
tree903d4942e94fe66b76a2f24daeaf65c4cdeb38d4
parentcad630562127585d453f5469b9e4099291d3455d (diff)
add swig rule stub
-rw-r--r--xmake/rules/swig/xmake.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/xmake/rules/swig/xmake.lua b/xmake/rules/swig/xmake.lua
new file mode 100644
index 000000000..4ac852e48
--- /dev/null
+++ b/xmake/rules/swig/xmake.lua
@@ -0,0 +1,26 @@
+--!A cross-platform build utility based on Lua
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+-- Copyright (C) 2015-present, TBOOX Open Source Group.
+--
+-- @author ruki
+-- @file xmake.lua
+--
+
+rule("swig")
+ set_extensions(".i")
+ on_load(function (target)
+ end)
+
+