diff options
| author | ruki <[email protected]> | 2021-02-09 00:44:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-02-09 00:44:59 +0800 |
| commit | 22bc93e3eac36f077583faa90f515d436e4945df (patch) | |
| tree | 45ea040ce3f449c5e01bb0523e80f176df0473d1 | |
| parent | c4d7b7994101e9ed897a19fefc660874d9528f6c (diff) | |
improve test with spaces
| -rw-r--r-- | tests/projects/c/static library with spaces/i n c/interface.h (renamed from tests/projects/c/static library with spaces/s r c/interface.h) | 0 | ||||
| -rw-r--r-- | tests/projects/c/static library with spaces/xmake.lua | 2 | ||||
| -rw-r--r-- | xmake/core/tool/builder.lua | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/c/static library with spaces/s r c/interface.h b/tests/projects/c/static library with spaces/i n c/interface.h index 10ec0f856..10ec0f856 100644 --- a/tests/projects/c/static library with spaces/s r c/interface.h +++ b/tests/projects/c/static library with spaces/i n c/interface.h diff --git a/tests/projects/c/static library with spaces/xmake.lua b/tests/projects/c/static library with spaces/xmake.lua index 3febc19f3..e05cd0ee5 100644 --- a/tests/projects/c/static library with spaces/xmake.lua +++ b/tests/projects/c/static library with spaces/xmake.lua @@ -3,7 +3,7 @@ add_rules("mode.release", "mode.debug") target("test") set_kind("static") add_files("s r c/interface.c") - add_includedirs("$(projectdir)/s r c", {public = true}) + add_includedirs("$(projectdir)/i n c", {public = true}) target("demo") set_kind("binary") diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua index 3433813c9..7175cb7b6 100644 --- a/xmake/core/tool/builder.lua +++ b/xmake/core/tool/builder.lua @@ -378,6 +378,7 @@ function builder:_preprocess_flags(flags) unique[flag] = true end end +-- utils.dump(results) return results end |
