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

https://github.com/maverobot/cmake-tools

cmake-tools automatically adds clang-format and clang-tidy to your CMakeLists.txt based C++ project
https://github.com/maverobot/cmake-tools

clang clang-format cmake cmakelists golang

Last synced: about 2 months ago
JSON representation

cmake-tools automatically adds clang-format and clang-tidy to your CMakeLists.txt based C++ project

Awesome Lists containing this project

README

        

# cmake-tools
[![Build Status](https://travis-ci.com/Maverobot/cmake-tools.svg?branch=master)](https://travis-ci.com/Maverobot/cmake-tools)

This package provides automatic configuration of following tools for cmake project:
* clang-format
* clang-tidy

This project was mainly used for learning Go language, travis and AppImage.

**No dependency** is needed for running this tool with AppImage.

### Usage
```bash
wget https://github.com/maverobot/cmake-tools/releases/download/continuous/cmake-tools-v0.0.1.glibc2.3.3-x86_64.AppImage -O cmake-tools.AppImage
chmod +x cmake-tools.AppImage
./cmake-tools/cmake-tools.AppImage -path path/to/your/project/CMakeLists.txt
```

### Compilation

#### Prerequisite
```bash
sudo snap install go
```

#### Download, compile and use
```bash
go get -u -v github.com/maverobot/cmake-tools

cd $GOPATH/src/github.com/maverobot/cmake-tools
go build -o cmake-tools main.go

./cmake-tools -path path/to/your/project/CMakeLists.txt
```