diff options
| author | ruki <[email protected]> | 2019-04-17 22:46:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-04-17 10:41:01 +0800 |
| commit | 74c18489f716bda97ae46d2f497682da8867ece9 (patch) | |
| tree | 30f7a291fa10d39d6b0b8abaae7595a4e1dc8b23 /core/xmake.lua | |
| parent | cce9a53e76072dc8317f319b77fd408bdf57238e (diff) | |
improve xmake.lua for core
Diffstat (limited to 'core/xmake.lua')
| -rw-r--r-- | core/xmake.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/xmake.lua b/core/xmake.lua index bcc6500a3..3cc3a39d2 100644 --- a/core/xmake.lua +++ b/core/xmake.lua @@ -13,6 +13,9 @@ set_warnings("all", "error") -- set language: c99, c++11 set_languages("c99", "cxx11") +-- add release and debug modes +add_rules("mode.release", "mode.debug") + -- disable some compiler errors add_cxflags("-Wno-error=deprecated-declarations", "-fno-strict-aliasing", "-Wno-error=nullability-completeness") |
