[feat] add PathManager class in order to manage config/log/cache file path

This commit is contained in:
dijunkun
2025-07-16 18:22:33 +08:00
parent 29077fad5e
commit 3bf68a396f
3 changed files with 127 additions and 1 deletions

View File

@@ -60,6 +60,13 @@ target("common")
add_files("src/common/*.cpp")
add_includedirs("src/common", {public = true})
target("path_manager")
set_kind("object")
add_deps("rd_log")
add_includedirs("src/path_manager", {public = true})
add_files("src/path_manager/*.cpp")
add_includedirs("src/path_manager", {public = true})
target("screen_capturer")
set_kind("object")
add_deps("rd_log", "common")
@@ -130,7 +137,7 @@ target("single_window")
set_kind("object")
add_packages("libyuv", "openssl3")
add_deps("rd_log", "common", "localization", "config_center", "minirtc",
"screen_capturer", "speaker_capturer", "device_controller")
"path_manager", "screen_capturer", "speaker_capturer", "device_controller")
add_files("src/single_window/*.cpp")
add_includedirs("src/single_window", {public = true})
add_includedirs("fonts", {public = true})