diff options
| -rwxr-xr-x | xmake/actions/config/main.lua | 8 | ||||
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/project/config.lua | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index 84aa468fb..77451f344 100755 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -70,4 +70,12 @@ function main() -- probe the configure with value: "auto" config.probe() + -- TODO + + -- dump it + config.dump() + + -- trace + print("configure ok!") + end diff --git a/xmake/core/sandbox/modules/import/core/project/config.lua b/xmake/core/sandbox/modules/import/core/project/config.lua index 01e50f253..abebd9bc9 100644 --- a/xmake/core/sandbox/modules/import/core/project/config.lua +++ b/xmake/core/sandbox/modules/import/core/project/config.lua @@ -115,6 +115,19 @@ function sandbox_core_project_config.probe() if not platform.probe(false) then raise("probe the project configure failed!") end + + -- make the platform configure + if not platform.make() then + raise("make platform configure: %s failed!", config.get("plat")) + end + +end + +-- dump the configure +function sandbox_core_project_config.dump() + + -- dump it + config.dump() end |
