From 8334850371c950c61cd91085c80b34dc79f38155 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 13 May 2019 22:54:28 +0800 Subject: fix some example codes --- manual.md | 4 ++-- zh/manual.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manual.md b/manual.md index 524ea1b6..c3bdb388 100644 --- a/manual.md +++ b/manual.md @@ -123,9 +123,9 @@ So, we can use this api to determine the current host operating system. ```lua if is_host("windows") then - add_includes("C:\\includes") + add_includedirs("C:\\includes") else - add_includes("/usr/includess") + add_includedirs("/usr/includess") end ``` diff --git a/zh/manual.md b/zh/manual.md index be4e5e1f..c0cb1373 100644 --- a/zh/manual.md +++ b/zh/manual.md @@ -136,9 +136,9 @@ $ xmake f -p other --sdk=... ```lua -- 如果当前主机环境是windows if is_host("windows") then - add_includes("C:\\includes") + add_includedirs("C:\\includes") else - add_includes("/usr/includess") + add_includedirs("/usr/includess") end ``` -- cgit v1.2.3