mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-09-01 19:53:54 +00:00
Some checks failed
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / module (push) Has been cancelled
build / host-linux (push) Has been cancelled
build / host-windows-cross (push) Has been cancelled
build / host-windows-native (push) Has been cancelled
build / idd (push) Has been cancelled
build / obs (clang) (push) Has been cancelled
build / obs (gcc) (push) Has been cancelled
build / docs (push) Has been cancelled
Add LGProtocol as a pinned submodule and consume its KVMFR protocol definitions throughout the client, host, IDD, OBS, and profiler. Keep Looking Glass framebuffer helpers local while removing duplicated protocol headers and migrating users to KVMFR-scoped types.
25 lines
1.1 KiB
CMake
25 lines
1.1 KiB
CMake
if (EXISTS "${PROJECT_TOP}/.git" AND (
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/gui/cimgui/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/gui/cimplot/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/LGMP/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/LGProtocol/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/PureSpice/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/gui/cimgui/imgui/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/gui/cimplot/implot/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/wayland-protocols/.git") OR
|
|
(NOT EXISTS "${PROJECT_TOP}/repos/nanosvg/.git")
|
|
))
|
|
message(FATAL_ERROR "Submodules are not initialized. Run\n\tgit submodule update --init --recursive")
|
|
endif()
|
|
|
|
if (EXISTS "${PROJECT_TOP}/.git" AND NOT DEFINED DEVELOPER)
|
|
execute_process(
|
|
COMMAND git submodule summary
|
|
WORKING_DIRECTORY "${PROJECT_TOP}"
|
|
OUTPUT_VARIABLE SUBMODULE_SUMMARY
|
|
)
|
|
if (NOT "${SUBMODULE_SUMMARY}" STREQUAL "")
|
|
message(FATAL_ERROR "Wrong submodule version checked out. Run\n\tgit submodule update --init --recursive")
|
|
endif()
|
|
endif()
|