diff options
| -rw-r--r-- | xmake/core/main.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua index a38a4fc21..3455c5f64 100644 --- a/xmake/core/main.lua +++ b/xmake/core/main.lua @@ -196,7 +196,8 @@ function main._init() -- enter the project directory if os.isdir(os.projectdir()) then if path.translate(os.projectdir()) ~= path.translate(os.curdir()) then - utils.warning("you are working in the project directory(%s)!", os.projectdir()) + utils.warning([[You are working in the project directory(%s) and you can also +force to build in current directory via run `xmake -P .`]], os.projectdir()) end xmake._WORKING_DIR = os.cd(os.projectdir()) else |
