Skip to content

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

License

Notifications You must be signed in to change notification settings

Maverobot/cmake-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmake-tools

Build Status

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

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

sudo snap install go

Download, compile and use

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