Skip to content

Commit

Permalink
fix_poco_shared_build (#4994)
Browse files Browse the repository at this point in the history
* fix_poco_shared_build

* remove_useless_content

* move_checks

* fix_move_checks

* test_other_plats

* fix_no_expat_on_some_plat

* fix_poco_not_support_mingw@macos

* fix_poco_not_support mingw@macos

* fix_pcre2 path for wasm

* fix_poco not suppport wasm

* add_Poco's modules dependencies check, add_Poco's modules test
  • Loading branch information
SnowinterCat authored Aug 30, 2024
1 parent a73fb26 commit cc2d57e
Show file tree
Hide file tree
Showing 2 changed files with 227 additions and 42 deletions.
2 changes: 1 addition & 1 deletion packages/e/expat/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ package("expat")
end
end)

on_install("windows", "linux", "macosx", "android", "mingw", "cross", "bsd", function (package)
on_install(function (package)
local configs = {"-DEXPAT_BUILD_EXAMPLES=OFF", "-DEXPAT_BUILD_TESTS=OFF", "-DEXPAT_BUILD_DOCS=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DEXPAT_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
Expand Down
Loading

0 comments on commit cc2d57e

Please sign in to comment.