From 5e8c007654bb83130a1f1651d7efa34a5dcd7f80 Mon Sep 17 00:00:00 2001 From: Horror Proton <107091537+horror-proton@users.noreply.github.com> Date: Fri, 19 May 2023 12:46:53 +0800 Subject: Fix typos --- tests/apis/add_allowedxxx/xmake.lua | 2 +- tests/projects/package/brew/xmake.lua | 2 +- xmake/scripts/faq.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/apis/add_allowedxxx/xmake.lua b/tests/apis/add_allowedxxx/xmake.lua index e2f1f1ad9..963007b99 100644 --- a/tests/apis/add_allowedxxx/xmake.lua +++ b/tests/apis/add_allowedxxx/xmake.lua @@ -52,7 +52,7 @@ target("test") -- -- add debug and release modes -- add_rules("mode.debug", "mode.release") -- --- -- add macro defination +-- -- add macro definition -- add_defines("NDEBUG", "_GNU_SOURCE=1") -- -- -- set warning all as error diff --git a/tests/projects/package/brew/xmake.lua b/tests/projects/package/brew/xmake.lua index 214f5e5e0..2b0128fda 100644 --- a/tests/projects/package/brew/xmake.lua +++ b/tests/projects/package/brew/xmake.lua @@ -47,7 +47,7 @@ target("brew") -- -- add debug and release modes -- add_rules("mode.debug", "mode.release") -- --- -- add macro defination +-- -- add macro definition -- add_defines("NDEBUG", "_GNU_SOURCE=1") -- -- -- set warning all as error diff --git a/xmake/scripts/faq.lua b/xmake/scripts/faq.lua index 067d96dc4..770bfde64 100644 --- a/xmake/scripts/faq.lua +++ b/xmake/scripts/faq.lua @@ -38,7 +38,7 @@ -- -- add debug and release modes -- add_rules("mode.debug", "mode.release") -- --- -- add macro defination +-- -- add macro definition -- add_defines("NDEBUG", "_GNU_SOURCE=1") -- -- -- set warning all as error -- cgit v1.3.1