summaryrefslogtreecommitdiff
path: root/xmake/toolchains/fpc/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-02 23:04:28 +0800
committerruki <[email protected]>2021-09-02 23:04:28 +0800
commit3d595c5f5f91bd380d3b43bd0dfc8c1f738c325b (patch)
tree0a5f42eb430151408ff86c19468cb65b7dfa1709 /xmake/toolchains/fpc/xmake.lua
parentf131f88e73c2c9718f61dee0aac451e00d63f64f (diff)
add pascal stub
Diffstat (limited to 'xmake/toolchains/fpc/xmake.lua')
-rw-r--r--xmake/toolchains/fpc/xmake.lua34
1 files changed, 34 insertions, 0 deletions
diff --git a/xmake/toolchains/fpc/xmake.lua b/xmake/toolchains/fpc/xmake.lua
new file mode 100644
index 000000000..d3499867a
--- /dev/null
+++ b/xmake/toolchains/fpc/xmake.lua
@@ -0,0 +1,34 @@
+--!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
+--
+
+-- define toolchain
+toolchain("fpc")
+
+ -- set homepage
+ set_homepage("https://www.freepascal.org/")
+ set_description("Free Pascal Programming Language Compiler")
+
+ -- on check
+ on_check(function (toolchain)
+ end)
+
+ -- on load
+ on_load(function (toolchain)
+ end)