Files
lightgui/widgets/components/XLoadBadge/CMakeLists.txt
T
Muse 8c295dbbdf XFrame monitor widgets: XProcessList, XLoadBadge, XMonitorButton, XMonitorGrid, XSysBox
Live process table from /proc (sortable columns, in-cell CPU% bars,
colour-coded rows, refresh()), load-average badge (1/5/15 min,
threshold colours, uptime from /proc), monitor button bound to a
process (/proc scan), systemd unit (systemctl is-active) or TCP port
(connect to localhost) with poll()/update() and click-for-details,
grid panel of monitor buttons with one shared poll_all(), composite
resource box (title + big number + history + usage bar). Header-only
C++, demo mains (polling loop for the live three), examples, Xvfb
screenshots.
2026-12-05 16:49:29 +00:00

14 lines
265 B
CMake

cmake_minimum_required(VERSION 3.20)
project(XLoadBadge LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(X11 REQUIRED)
add_executable(XLoadBadge main_XLoadBadge.cpp)
target_link_libraries(XLoadBadge PRIVATE X11::X11)