Closed troldal closed 10 months ago
Tested on Windows (MSVC and Clang-cl) both with and without OpenCL support. Tested on Linux with GCC (using WSL) without OpenCL Tested on macOS with GCC and Clang without OpenCL support.
Hi and thanks for contributing!
In general, I do not want HWinfo to be header only because of the compile time overhead. However, I am fine with an additional option to use a header only version.
My proposal would be to add a directory "single_include" containing a header only (and/or a single header only) version of HWinfo (similar to [nlohmann/json]((and/or a single header only)).
Refactored the HWinfo library to be header-only, in order to simplify integration with other projects.