Skip to content
项目

关于

用于获取系统和硬件信息的 C++ 库,无需调用命令行。

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

infoware License CI status

C++ Library for pulling system and hardware information, without hitting the command line.

Requirements

No non-built-in ones by default.
Some libraries are required for extended functionality. See the Configurability section below for details.

On Windows one needs to link to gdi32, version, Ole32, OleAut32, wbemuuid and ntdll.

A usable git binary is required by default, to clone https://github.com/pciutils/pciids. INFOWARE_PCI_IDS_REPOSITORY can be set to override that clone URI. INFOWARE_PCI_IDS_PATH can be set to use the specified file instead of using git at all.

Configurability

CMake definition and C++ preprocessor macro Meaning Linker library Priority
INFOWARE_USE_X11 Use X11 for display detection X11 <Win32/Darwin
INFOWARE_USE_D3D Use D3D for GPU detection dxgi >OpenCL
INFOWARE_USE_OPENCL Use OpenCL for GPU detection OpenCL <D3D
INFOWARE_USE_OPENGL Use OpenGL for GPU detection OS-dependent* <OpenGL

*Consult the section under the if(INFOWARE_USE_OPENGL) condition in CMakeLists.txt for variants.

探索相关项目

加载中…