From e28de1fbdac1c37b52388e9762a2ce6f6c9ac606 Mon Sep 17 00:00:00 2001 From: dijunkun Date: Sun, 19 Nov 2023 23:41:58 -0800 Subject: [PATCH] Change folder name --- src/{remote_desk_gui => gui}/main.cpp | 0 {src/remote_desk_gui => test}/linux_capture.cpp | 0 xmake.lua | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{remote_desk_gui => gui}/main.cpp (100%) rename {src/remote_desk_gui => test}/linux_capture.cpp (100%) diff --git a/src/remote_desk_gui/main.cpp b/src/gui/main.cpp similarity index 100% rename from src/remote_desk_gui/main.cpp rename to src/gui/main.cpp diff --git a/src/remote_desk_gui/linux_capture.cpp b/test/linux_capture.cpp similarity index 100% rename from src/remote_desk_gui/linux_capture.cpp rename to test/linux_capture.cpp diff --git a/xmake.lua b/xmake.lua index 2e1eb89..3b12aa6 100644 --- a/xmake.lua +++ b/xmake.lua @@ -54,7 +54,7 @@ target("remote_desk") set_kind("binary") add_deps("log", "screen_capture") add_packages("sdl2", "imgui", "ffmpeg", "projectx") - add_files("src/remote_desk_gui/main.cpp") + add_files("src/gui/main.cpp") if is_os("windows") then add_links("SDL2-static", "SDL2main", "gdi32", "winmm", "setupapi", "version", "Imm32", "iphlpapi") @@ -79,7 +79,7 @@ target("remote_desk") -- target("linux_capture") -- set_kind("binary") -- add_packages("sdl2", "imgui", "ffmpeg", "openh264") --- add_files("remote_desk_gui/linux_capture.cpp") +-- add_files("test/linux_capture.cpp") -- add_ldflags("-lavformat", "-lavdevice", "-lavfilter", "-lavcodec", -- "-lswscale", "-lavutil", "-lswresample", -- "-lasound", "-lxcb-shape", "-lxcb-xfixes", "-lsndio", "-lxcb",