Skip to content

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

License

Notifications You must be signed in to change notification settings

ThePhD/infoware

infoware LicenseCI 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 macroMeaningLinker libraryPriority
INFOWARE_USE_X11Use X11 for display detectionX11<Win32/Darwin
INFOWARE_USE_VULKANUse Vulkan for GPU detectionvulkan>D3D
INFOWARE_USE_D3DUse D3D for GPU detectiondxgi>OpenCL
INFOWARE_USE_OPENCLUse OpenCL for GPU detectionOpenCLDarwin
INFOWARE_USE_OPENGLUse OpenGL for GPU detectionOS-dependent*<Darwin

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

About

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

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

    Packages

    No packages published

    Contributors 17