diff options
| author | ruki <[email protected]> | 2025-01-25 00:53:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-01-25 00:53:59 +0800 |
| commit | 04c8ea3b4ea7dca2bb60c64057c6e9d43862696c (patch) | |
| tree | f2c7d5bd2a4ca754c1e042585125fb72089abfa5 /xmake/core/project/project.lua | |
| parent | 4758d5fb50863ebefc7c7cdb3d3bf3670843cd82 (diff) | |
add cl6x modules
Diffstat (limited to 'xmake/core/project/project.lua')
| -rw-r--r-- | xmake/core/project/project.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index 7b42d47ea..20b0a171b 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -202,17 +202,6 @@ function project._api_add_platformdirs(interp, ...) end end --- add toolchain directories -function project._api_add_toolchaindirs(interp, ...) - local scriptdir = project.interpreter():scriptdir() - for _, dir in ipairs({...}) do - if not path.is_absolute(dir) then - dir = path.absolute(dir, scriptdir) - end - toolchain.add_directories(dir) - end -end - -- load the project file function project._load(force, disable_filter) @@ -669,7 +658,6 @@ function project.apis() , {"add_moduledirs", project._api_add_moduledirs } , {"add_plugindirs", project._api_add_plugindirs } , {"add_platformdirs", project._api_add_platformdirs } - , {"add_toolchaindirs", project._api_add_toolchaindirs } } } end |
