diff options
| author | Dan Engelbrecht <[email protected]> | 2024-03-14 16:33:17 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-03-14 16:33:17 +0100 |
| commit | 45bfc721dd049193abf3b2be2aa7b097466ddbe9 (patch) | |
| tree | abb6cf119aa148972aabad730ed384c115177cf1 /src/zenhttp-test/xmake.lua | |
| parent | change code owners for Enterprise github user names (#7) (diff) | |
| download | zen-45bfc721dd049193abf3b2be2aa7b097466ddbe9.tar.xz zen-45bfc721dd049193abf3b2be2aa7b097466ddbe9.zip | |
clean up test linking (#4)
- Improvement: Add zenhttp-test and zenutil-test
- Improvement: Moved cachepolicy test to cachepolicy.cpp
- Improvement: Renamed cachestore tests from z$ to cachestore
- Improvement: Moved test linking so test for a lib is linked by <lib>-test
- Improvement: Removed HttpRequestParseRelativeUri in httpstructuredcache.cpp and use the one in cacherequests.h instead
Diffstat (limited to 'src/zenhttp-test/xmake.lua')
| -rw-r--r-- | src/zenhttp-test/xmake.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/zenhttp-test/xmake.lua b/src/zenhttp-test/xmake.lua new file mode 100644 index 000000000..a6163e506 --- /dev/null +++ b/src/zenhttp-test/xmake.lua @@ -0,0 +1,15 @@ +-- Copyright Epic Games, Inc. All Rights Reserved. + +target("zenhttp-test") + set_kind("binary") + set_group("tests") + add_headerfiles("**.h") + add_files("*.cpp") + add_deps("zenhttp", "zencore") + add_packages("vcpkg::doctest") + + if is_plat("macosx") then + add_ldflags("-framework CoreFoundation") + add_ldflags("-framework Security") + add_ldflags("-framework SystemConfiguration") + end |