Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #94
Related to #54
Implements #94 (comment)
All components are available via the
hwinfo::hwinfo
target, or via individual CMake targets, which you can choose and link against depending on your needs.or
The CMake options control which components will be built and available in the library:
HWINFO_OS
"Enable OS detection" (default toON
)HWINFO_MAINBOARD
"Enable mainboard detection" (default toON
)HWINFO_CPU
"Enable CPU detection" (default toON
)HWINFO_DISK
"Enable disk detection" (default toON
)HWINFO_RAM
"Enable RAM detection" (default toON
)HWINFO_GPU
"Enable GPU detection" (default toON
)HWINFO_GPU_OPENCL
"Enable usage of OpenCL in GPU information" (default toOFF
)HWINFO_BATTERY
"Enable battery detection" (default toON
)