Scrolling multi-series history graph (60s window, cur/min/max/avg legend), per-core mini-graph grid, dual up/down network graph with rates + totals, temperature history with threshold line + over-temp colouring. Header-only C++, demo mains, examples, Xvfb screenshots.
14 lines
261 B
CMake
14 lines
261 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
project(XNetGraph LANGUAGES CXX)
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
find_package(X11 REQUIRED)
|
|
|
|
add_executable(XNetGraph main_XNetGraph.cpp)
|
|
|
|
target_link_libraries(XNetGraph PRIVATE X11::X11)
|