[feat] add portable build storage mode, refs #80

This commit is contained in:
dijunkun
2026-05-20 23:53:13 +08:00
parent a3aedcb624
commit 515d517a99
5 changed files with 196 additions and 3 deletions
+9 -1
View File
@@ -25,6 +25,14 @@ function setup_targets()
add_files("src/path_manager/*.cpp")
add_includedirs("src/path_manager", {public = true})
target("path_manager_portable_test")
set_kind("binary")
set_default(false)
add_defines("CROSSDESK_PORTABLE=1")
add_includedirs("src/path_manager")
add_files("tests/path_manager_portable_test.cpp",
"src/path_manager/path_manager.cpp")
target("screen_capturer")
set_kind("object")
add_deps("rd_log", "common")
@@ -195,4 +203,4 @@ function setup_targets()
add_deps("wgc_plugin", "crossdesk_service", "crossdesk_session_helper")
add_files("scripts/windows/crossdesk.rc")
end
end
end