Skip to content

🏰 Example C++11 CMake project that incorporates awesome Clang tooling 🐉

Notifications You must be signed in to change notification settings

johnthagen/clang-blueprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clang-blueprint

Build Status
Travis Travis Build Status

Example CMake project that incorporates awesome Clang tooling.

Current status: Work in progress.

Requirements

Ubuntu 18.04

$ sudo apt install gcc g++ clang cmake

Build

GCC

$ cd build
$ cmake ..
$ make

Clang

$ cd build
$ cmake -DCMAKE_CXX_COMPILER=clang++ ..
$ make

Run

In the build directory:

$ ./clang-blueprint