Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi authored Oct 21, 2024
1 parent 16edb73 commit 0017f44
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions packages/z/zbar/port/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,12 @@ add_rules("mode.debug", "mode.release")
add_requires("libiconv")

-- add options
option("symbologies")
set_description("Select symbologies to compile")
option_end()

option("vers")
set_default("")
set_showmenu(true)
option_end()
if has_config("vers") then
set_version(get_config("vers"))
end
option("symbologies", {description = "Select symbologies to compile"})
option("vers", {description = "Set the version"})
option("LIB_VERSION", {description = "Set the library version"})

set_version("$(vers)")

option("LIB_VERSION")
set_default("")
set_showmenu(true)
option_end()
if has_config("LIB_VERSION") then
local lib_vers = get_config("LIB_VERSION")

Expand Down

0 comments on commit 0017f44

Please sign in to comment.