diff options
| author | ruki <[email protected]> | 2020-04-22 23:50:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-22 17:05:10 +0800 |
| commit | 00f34ec89f7735b45a3ecdb55f0952d545d73cbb (patch) | |
| tree | 805b1ebb127cc86f94f1ecc6dd883294337ef00d /xmake/core/project/config.lua | |
| parent | 05df31effcfc9bc701387e1383b678f0914241be (diff) | |
pass engine name
Diffstat (limited to 'xmake/core/project/config.lua')
| -rw-r--r-- | xmake/core/project/config.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/config.lua b/xmake/core/project/config.lua index a7e474338..49d093663 100644 --- a/xmake/core/project/config.lua +++ b/xmake/core/project/config.lua @@ -142,14 +142,14 @@ end -- get the configure file function config.filepath() - return path.join(config.directory(), "xmake.conf") + return path.join(config.directory(), xmake._NAME .. ".conf") end -- get the configure directory on the current host/arch platform function config.directory() if config._DIRECTORY == nil then local rootdir = os.getenv("XMAKE_CONFIGDIR") or os.projectdir() - config._DIRECTORY = path.join(rootdir, ".xmake", os.host(), os.arch()) + config._DIRECTORY = path.join(rootdir, "." .. xmake._NAME, os.host(), os.arch()) end return config._DIRECTORY end |
