diff options
| -rw-r--r-- | CHANGELOG.md | 4 | ||||
| -rw-r--r-- | xmake/templates/c++/console/project/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/templates/c++/shared_library/project/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/templates/c++/static_library/project/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/templates/c/console/project/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/templates/c/shared_library/project/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/templates/c/static_library/project/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/templates/dlang/console/project/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/templates/go/console/project/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/templates/objc/console/project/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/templates/rust/console/project/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/templates/swift/console/project/xmake.lua | 2 |
12 files changed, 13 insertions, 13 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ef2a2031..49167bfba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ * [#158](https://github.com/tboox/xmake/issues/158): Support CUDA Toolkit and Compiler * Add `set_tools` and `add_tools` apis to change the toolchains for special target -* Add builtin rules: `mode:debug`, `mode:release`, `mode:profile` and `mode:check` +* Add builtin rules: `mode.debug`, `mode.release`, `mode.profile` and `mode.check` * Add `is_mode`, `is_arch` and `is_plat` builtin apis in the custom scripts * Add color256 codes * [#160](https://github.com/tboox/xmake/issues/160): Support Qt compilation environment and add `qt.console`, `qt.application` rules @@ -459,7 +459,7 @@ * [#158](https://github.com/tboox/xmake/issues/158): 增加对Cuda编译环境的支持 * 添加`set_tools`和`add_tools`接口为指定target目标设置编译工具链 -* 添加内建规则:`mode:debug`, `mode:release`, `mode:profile`和`mode:check` +* 添加内建规则:`mode.debug`, `mode.release`, `mode.profile`和`mode.check` * 添加`is_mode`, `is_arch` 和`is_plat`内置接口到自定义脚本域 * 添加color256代码 * [#160](https://github.com/tboox/xmake/issues/160): 增加对Qt SDK编译环境的跨平台支持,并且增加`qt.console`, `qt.application`等规则 diff --git a/xmake/templates/c++/console/project/xmake.lua b/xmake/templates/c++/console/project/xmake.lua index 5cd29b202..86da6b2c0 100644 --- a/xmake/templates/c++/console/project/xmake.lua +++ b/xmake/templates/c++/console/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add target target("[targetname]") diff --git a/xmake/templates/c++/shared_library/project/xmake.lua b/xmake/templates/c++/shared_library/project/xmake.lua index b6166c371..59fe4dbe6 100644 --- a/xmake/templates/c++/shared_library/project/xmake.lua +++ b/xmake/templates/c++/shared_library/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add target target("[targetname]") diff --git a/xmake/templates/c++/static_library/project/xmake.lua b/xmake/templates/c++/static_library/project/xmake.lua index 59ca2ece3..8375d78fe 100644 --- a/xmake/templates/c++/static_library/project/xmake.lua +++ b/xmake/templates/c++/static_library/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add target target("[targetname]") diff --git a/xmake/templates/c/console/project/xmake.lua b/xmake/templates/c/console/project/xmake.lua index 6bac72937..d0bffccc8 100644 --- a/xmake/templates/c/console/project/xmake.lua +++ b/xmake/templates/c/console/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add target target("[targetname]") diff --git a/xmake/templates/c/shared_library/project/xmake.lua b/xmake/templates/c/shared_library/project/xmake.lua index 3ea94ef68..4a52ee6d0 100644 --- a/xmake/templates/c/shared_library/project/xmake.lua +++ b/xmake/templates/c/shared_library/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add target target("[targetname]") diff --git a/xmake/templates/c/static_library/project/xmake.lua b/xmake/templates/c/static_library/project/xmake.lua index f80117e8b..04d422083 100644 --- a/xmake/templates/c/static_library/project/xmake.lua +++ b/xmake/templates/c/static_library/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add target target("[targetname]") diff --git a/xmake/templates/dlang/console/project/xmake.lua b/xmake/templates/dlang/console/project/xmake.lua index d7c3ba02e..de662d1b4 100644 --- a/xmake/templates/dlang/console/project/xmake.lua +++ b/xmake/templates/dlang/console/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add target target("[targetname]") diff --git a/xmake/templates/go/console/project/xmake.lua b/xmake/templates/go/console/project/xmake.lua index 4b5d87a02..090935ed2 100644 --- a/xmake/templates/go/console/project/xmake.lua +++ b/xmake/templates/go/console/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add target target("[targetname]") diff --git a/xmake/templates/objc/console/project/xmake.lua b/xmake/templates/objc/console/project/xmake.lua index 9b2fb3343..04d70929f 100644 --- a/xmake/templates/objc/console/project/xmake.lua +++ b/xmake/templates/objc/console/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add frameworks add_frameworks("Foundation", "CoreFoundation") diff --git a/xmake/templates/rust/console/project/xmake.lua b/xmake/templates/rust/console/project/xmake.lua index 889e23c94..e67de58ab 100644 --- a/xmake/templates/rust/console/project/xmake.lua +++ b/xmake/templates/rust/console/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add target target("[targetname]") diff --git a/xmake/templates/swift/console/project/xmake.lua b/xmake/templates/swift/console/project/xmake.lua index 2566b5149..b9e0d0f9a 100644 --- a/xmake/templates/swift/console/project/xmake.lua +++ b/xmake/templates/swift/console/project/xmake.lua @@ -1,6 +1,6 @@ -- add modes: debug and release -add_rules("mode:debug", "mode:release") +add_rules("mode.debug", "mode.release") -- add target target("[targetname]") |
