diff options
| author | xiaozhu1337 <[email protected]> | 2023-03-27 17:39:29 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-03-27 17:39:29 +0800 |
| commit | 0201a6aa2053aa2e1bbc5915db0f7196a42cf2eb (patch) | |
| tree | f88ef0164de86b9b592332a76b32893ad58acfcb | |
| parent | 0aa09bf07fe82468a08b5152f2001f5c185a6294 (diff) | |
match visual studio default behaviour
add DBG macro
| -rw-r--r-- | xmake/rules/wdk/env/xmake.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/rules/wdk/env/xmake.lua b/xmake/rules/wdk/env/xmake.lua index a9089dc5e..a4a086433 100644 --- a/xmake/rules/wdk/env/xmake.lua +++ b/xmake/rules/wdk/env/xmake.lua @@ -18,6 +18,11 @@ -- @file xmake.lua -- +-- match visual studio default behaviour +if is_mode("debug") then + add_defines("DBG") +end + -- define rule: environment rule("wdk.env") |
