mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-26 15:28:53 +08:00
[feat] add in-app updates for desktop installations
This commit is contained in:
@@ -2,6 +2,10 @@ rule("slint")
|
||||
set_extensions(".slint")
|
||||
|
||||
after_load(function(target)
|
||||
-- Consumers inline generated C++ bindings. They must not check header
|
||||
-- timestamps or compile until generation finishes, otherwise one build
|
||||
-- can link the new UI layout with callers compiled against the old one.
|
||||
target:set("policy", "build.fence", true)
|
||||
local outputdir = path.join(target:autogendir(), "rules", "slint")
|
||||
target:add("includedirs", outputdir, {public = true})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user