diff options
| author | ruki <[email protected]> | 2018-08-23 22:52:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-08-23 11:13:41 +0800 |
| commit | 791fbecaf73ebf0023b3f958c1527057ba6d5136 (patch) | |
| tree | 3f27cf00075d440100dd1a75dba0bac9dad6529d /tests/projects | |
| parent | c4200870deee0e73c9aaedf2b8a82e709a355920 (diff) | |
try building project
Diffstat (limited to 'tests/projects')
| -rwxr-xr-x | tests/projects/c/package/src/main.c (renamed from tests/projects/other/requires/src/main.c) | 0 | ||||
| -rw-r--r-- | tests/projects/c/package/test.lua (renamed from tests/projects/other/requires/test.lua) | 0 | ||||
| -rw-r--r-- | tests/projects/c/package/xmake.lua (renamed from tests/projects/other/requires/xmake.lua) | 15 |
3 files changed, 5 insertions, 10 deletions
diff --git a/tests/projects/other/requires/src/main.c b/tests/projects/c/package/src/main.c index 9ae580511..9ae580511 100755 --- a/tests/projects/other/requires/src/main.c +++ b/tests/projects/c/package/src/main.c diff --git a/tests/projects/other/requires/test.lua b/tests/projects/c/package/test.lua index 2db93991f..2db93991f 100644 --- a/tests/projects/other/requires/test.lua +++ b/tests/projects/c/package/test.lua diff --git a/tests/projects/other/requires/xmake.lua b/tests/projects/c/package/xmake.lua index b34a691d1..3a787f313 100644 --- a/tests/projects/other/requires/xmake.lua +++ b/tests/projects/c/package/xmake.lua @@ -1,17 +1,12 @@ --- define package -package("mbedtls") - set_urls("https://github.com/ARMmbed/mbedtls.git") - add_deps("https://github.com/glennrp/libpng.git@libpng >=1.6.28") -package_end() --- group packages -package("zlib-mbedtls") +-- define package +package("zlib-pcre2") add_deps("zlib >=1.2.11", {system = false}) - add_deps("mbedtls", {optional = true}) + add_deps("pcre2", {optional = true}) package_end() -- requires -add_requires("zlib-mbedtls") +add_requires("zlib-pcre2") add_requires("[email protected] ~1.6.0", {alias = "tbox"}) add_requires("unknown", {optional = true}) @@ -19,7 +14,7 @@ add_requires("unknown", {optional = true}) add_rules("mode.debug", "mode.release") -- add target -target("console_c") +target("console") -- set kind set_kind("binary") |
