Teemperor / ClangAutoModules

Automatically mounts clang modules for your system libraries (and more)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ClangAutoModules

Automatically brings clang modules to your system libraries in your CMake project.

license Build Status

Setup

There are two different ways to use ClangAutoModules:

  1. Embed the standalone script it in your CMake project:
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

  1. Use is to externally configure a CMake project:
CC=path/to/clang_modules CXX=path/to/clang_modules++ cmake ...

More information

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!

About

Automatically mounts clang modules for your system libraries (and more)

License:MIT License


Languages

Language:C++ 87.7%Language:Python 6.0%Language:CMake 5.6%Language:Shell 0.8%