summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author夕伽 <[email protected]>2018-09-04 15:02:25 +0800
committer夕伽 <[email protected]>2018-09-04 15:02:25 +0800
commit26b8ecc0d3d69fb57d7be53fee59f619232db9d6 (patch)
tree5d3968c41b9432a866dc34dcb4282c4c6055d65c
parente3038f3dce1bc843e3f19dba182f64b5bfda29f7 (diff)
rename rule: win.sdk.mfc -> win.sdk.mfc.env
-rw-r--r--xmake/rules/winsdk/mfc/env/xmake.lua4
-rw-r--r--xmake/rules/winsdk/mfc/xmake.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/xmake/rules/winsdk/mfc/env/xmake.lua b/xmake/rules/winsdk/mfc/env/xmake.lua
index dbf28907d..38ce77925 100644
--- a/xmake/rules/winsdk/mfc/env/xmake.lua
+++ b/xmake/rules/winsdk/mfc/env/xmake.lua
@@ -22,8 +22,8 @@
-- @file xmake.lua
--
--- define rule: mfc
-rule("win.sdk.mfc")
+-- define rule: mfc.env
+rule("win.sdk.mfc.env")
-- FIXME: before load need check of vs's minverion, if defined
--before_load(function (target)
diff --git a/xmake/rules/winsdk/mfc/xmake.lua b/xmake/rules/winsdk/mfc/xmake.lua
index 02ce49798..d22752a94 100644
--- a/xmake/rules/winsdk/mfc/xmake.lua
+++ b/xmake/rules/winsdk/mfc/xmake.lua
@@ -26,7 +26,7 @@
rule("win.sdk.mfc.shared")
-- add mfc base rule
- add_deps("win.sdk.mfc")
+ add_deps("win.sdk.mfc.env")
-- after load
after_load(function (target)
@@ -39,7 +39,7 @@ rule("win.sdk.mfc.shared")
rule("win.sdk.mfc.static")
-- add mfc base rule
- add_deps("win.sdk.mfc")
+ add_deps("win.sdk.mfc.env")
-- after load
after_load(function (target)