package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
458 B
18 lines
458 B
6 months ago
|
add_rules("mode.debug", "mode.release")
|
||
|
|
||
|
add_requires("minizip-ng")
|
||
|
add_packages("minizip-ng")
|
||
|
|
||
|
target("11zip")
|
||
|
set_kind("$(kind)")
|
||
|
set_languages("c++17")
|
||
|
add_files("src/*.cpp")
|
||
|
remove_files("src/elzip_fs_fallback.cpp")
|
||
|
add_includedirs("include", "include/elzip")
|
||
|
|
||
|
add_headerfiles("include/(**.hpp)")
|
||
|
|
||
|
if is_plat("windows") and is_kind("shared") then
|
||
|
add_rules("utils.symbols.export_all", {export_classes = true})
|
||
|
end
|