summaryrefslogtreecommitdiff
path: root/xmake/core/project/project.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-12-20 09:16:03 +0800
committerruki <[email protected]>2017-01-06 17:20:08 +0800
commitf0c81e8d818b3d0d5177ac4b39ff59562f133886 (patch)
treeb687c5a34f1543492605ce7d23f6f36f5aaaedf3 /xmake/core/project/project.lua
parent42ff9b62aa8ef799d8a9cfc064a40311671bee54 (diff)
load language apis
Diffstat (limited to 'xmake/core/project/project.lua')
-rw-r--r--xmake/core/project/project.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua
index c0d36b844..fd42e661c 100644
--- a/xmake/core/project/project.lua
+++ b/xmake/core/project/project.lua
@@ -40,6 +40,7 @@ local package = require("project/package")
local deprecated_project = require("project/deprecated/project")
local platform = require("platform/platform")
local environment = require("platform/environment")
+local language = require("language/language")
-- the current os is belong to the given os?
function project._api_is_os(interp, ...)
@@ -298,6 +299,8 @@ function project._interpreter()
-- register api: target(), option() and task()
interp:api_register_scope("target", "option", "task")
+-- table.dump(language.apis())
+
-- register api: set_values() to target
interp:api_register_set_values("target", "kind"
, "config_h_prefix"