An open API service indexing awesome lists of open source software.

https://github.com/flagarde/systemdetect

Modern way to detect OS... with C++ and CMake
https://github.com/flagarde/systemdetect

cmake cpp

Last synced: 19 days ago
JSON representation

Modern way to detect OS... with C++ and CMake

Awesome Lists containing this project

README

          

# SystemDetect [![Docs](https://github.com/flagarde/SystemDetect/actions/workflows/Docs.yml/badge.svg)](https://github.com/flagarde/SystemDetect/actions/workflows/Docs.yml) [![Format](https://github.com/flagarde/SystemDetect/actions/workflows/Format.yml/badge.svg)](https://github.com/flagarde/SystemDetect/actions/workflows/Format.yml) [![Codespell](https://github.com/flagarde/SystemDetect/actions/workflows/Codespell.yml/badge.svg)](https://github.com/flagarde/SystemDetect/actions/workflows/Codespell.yml) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pre-commit/pre-commit.com/master.svg)](https://results.pre-commit.ci/run/github/388531954/1627586985.K88huGY_TVabl1wZozsDyw)

Modern way to detect OS... with c++ and CMake

> [📖 Documentation](https://flagarde.github.io/SystemDetect/)

[LC]: https://github.com/flagarde/SystemDetect/actions/workflows/Linux-Clang.yml
[LCB]: https://github.com/flagarde/SystemDetect/actions/workflows/Linux-Clang.yml/badge.svg

[LG]: https://github.com/flagarde/SystemDetect/actions/workflows/Linux-GCC.yml
[LGB]: https://github.com/flagarde/SystemDetect/actions/workflows/Linux-GCC.yml/badge.svg

[MC]: https://github.com/flagarde/SystemDetect/actions/workflows/MacOS-Clang.yml
[MCB]: https://github.com/flagarde/SystemDetect/actions/workflows/MacOS-Clang.yml/badge.svg

[MG]: https://github.com/flagarde/SystemDetect/actions/workflows/MacOS-GCC.yml
[MGB]: https://github.com/flagarde/SystemDetect/actions/workflows/MacOS-GCC.yml/badge.svg

[MS]: https://github.com/flagarde/SystemDetect/actions/workflows/Windows-MSYS2.yml
[MSB]: https://github.com/flagarde/SystemDetect/actions/workflows/Windows-MSYS2.yml/badge.svg

[MM]: https://github.com/flagarde/SystemDetect/actions/workflows/Windows-MSVC.yml
[MMB]: https://github.com/flagarde/SystemDetect/actions/workflows/Windows-MSVC.yml/badge.svg

## Builds
| | Linux Clang | Linux GCC | MacOS Clang | MacOS GCC | Windows M2sys | Windows MSVC |
|--------|-------------|-----------|-------------|-----------|---------------|--------------|
| Github |[![Linux Clang][LCB]][LC]|[![Linux GCC][LGB]][LG]|[![MacOS Clang][MCB]][MC]|[![MacOS GCC][MGB]][MG]|[![Windows MSYS2][MSB]][MS]|[![Windows MSVC][MMB]][MM]|