diff options
| author | FireFight <[email protected]> | 2026-02-08 20:16:38 +0800 |
|---|---|---|
| committer | FireFight <[email protected]> | 2026-02-08 20:16:38 +0800 |
| commit | 0ec3e11de6b03a3ffca30da5cf0e49d5052893a4 (patch) | |
| tree | d79179de28e5728f1b04329f2d37c85e1080e55e /tests/projects/package/vcpkg | |
| parent | e80c35330d2df64d4b0e70f4181a39a06af0581b (diff) | |
fix vcpkg tests
Diffstat (limited to 'tests/projects/package/vcpkg')
| -rw-r--r-- | tests/projects/package/vcpkg/.gitignore | 2 | ||||
| -rw-r--r-- | tests/projects/package/vcpkg/src/main.cpp | 3 | ||||
| -rw-r--r-- | tests/projects/package/vcpkg/xmake.lua | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/tests/projects/package/vcpkg/.gitignore b/tests/projects/package/vcpkg/.gitignore index 152105761..d66efff82 100644 --- a/tests/projects/package/vcpkg/.gitignore +++ b/tests/projects/package/vcpkg/.gitignore @@ -4,5 +4,3 @@ build/ # MacOS Cache .DS_Store - - diff --git a/tests/projects/package/vcpkg/src/main.cpp b/tests/projects/package/vcpkg/src/main.cpp index 7c435d251..e64ad9bc2 100644 --- a/tests/projects/package/vcpkg/src/main.cpp +++ b/tests/projects/package/vcpkg/src/main.cpp @@ -2,8 +2,7 @@ using namespace std; -int main(int argc, char** argv) -{ +int main(int argc, char** argv) { cout << "hello world!" << endl; return 0; } diff --git a/tests/projects/package/vcpkg/xmake.lua b/tests/projects/package/vcpkg/xmake.lua index 3f5dbcf55..3abedd205 100644 --- a/tests/projects/package/vcpkg/xmake.lua +++ b/tests/projects/package/vcpkg/xmake.lua @@ -1,3 +1,5 @@ +add_rules("mode.debug", "mode.release") + add_requires("vcpkg::zlib", "vcpkg::pcre2") add_requires("vcpkg::boost[core]", {alias = "boost"}) |
