https://github.com/teemperor/clangautomodules
Automatically mounts clang modules for your system libraries (and more)
https://github.com/teemperor/clangautomodules
build-tools clang cmake cmake-modules modules
Last synced: 9 months ago
JSON representation
Automatically mounts clang modules for your system libraries (and more)
- Host: GitHub
- URL: https://github.com/teemperor/clangautomodules
- Owner: Teemperor
- License: mit
- Created: 2017-07-19T11:10:34.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-05-14T12:11:11.000Z (about 8 years ago)
- Last Synced: 2025-08-19T23:46:24.323Z (10 months ago)
- Topics: build-tools, clang, cmake, cmake-modules, modules
- Language: C++
- Homepage:
- Size: 21.9 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ClangAutoModules
Automatically brings clang modules to your system libraries in your CMake project.
[](https://github.com/Teemperor/ClangModulesCMake/blob/master/LICENSE.md)
[](https://travis-ci.org/Teemperor/ClangAutoModules)
## Setup
There are two different ways to use ClangAutoModules:
1. Embed the standalone script it in your CMake project:
```CMake
file(DOWNLOAD "https://github.com/Teemperor/ClangAutoModules/releases/download/0.2.1/ClangModules.cmake"
${CMAKE_BINARY_DIR}/ClangModules.cmake
EXPECTED_HASH SHA256=66ca91179df6806f3b7a7e25667d819252b026263aa5f69b868e3588c95c16a8)
include(${CMAKE_BINARY_DIR}/ClangModules.cmake)
```
[More information](docs/CMakeScript.md)
2. Use is to externally configure a CMake project:
```bash
CC=path/to/clang_modules CXX=path/to/clang_modules++ cmake ...
```
[More information](docs/ExternalConfig.md)
## Supported libraries
We currently have support for:
* STL for C++03, C++11, c++14
* SDL2
* boost (minimal, WIP)
* eigen3
* libc
* SFML
* glog
* gtest
* bullet
* linux headers (minimal, WIP)
* tinyxml
* tinyxml2
* [Feel free to request more!](https://github.com/Teemperor/ClangModulesCMake/issues/new)