diff options
| author | ruki <[email protected]> | 2025-04-24 22:44:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-04-24 10:24:45 +0800 |
| commit | c2c9cfeef4feca868a35585caa746691a3675889 (patch) | |
| tree | f5464524fe975e9a2e890489c299d8742bc13fc7 /xmake/actions/config/main.lua | |
| parent | ff67a6a7936dff1fd3549c003c87aa812c435474 (diff) | |
improve warnings
Diffstat (limited to 'xmake/actions/config/main.lua')
| -rw-r--r-- | xmake/actions/config/main.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index 02ca58799..4ebbbe406 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -373,6 +373,9 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) -- translate the build directory local builddir = config.get("builddir") or config.get("buildir") + if config.get("buildir") then + wprint("`xmake f --buildir=` has been deprecated, please use `xmake f -o/--builddir=`") + end if builddir and path.is_absolute(builddir) then config.set("builddir", path.relative(builddir, project.directory()), {readonly = true, force = true}) end |
