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
- Host: GitHub
- URL: https://github.com/maverobot/cmake-tools
- Owner: Maverobot
- License: apache-2.0
- Created: 2019-03-15T16:59:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-10T21:43:24.000Z (almost 6 years ago)
- Last Synced: 2023-03-11T18:51:58.023Z (about 2 years ago)
- Topics: clang, clang-format, cmake, cmakelists, golang
- Language: Go
- Homepage:
- Size: 1.54 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cmake-tools
[](https://travis-ci.com/Maverobot/cmake-tools)This package provides automatic configuration of following tools for cmake project:
* clang-format
* clang-tidyThis 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-toolscd $GOPATH/src/github.com/maverobot/cmake-tools
go build -o cmake-tools main.go./cmake-tools -path path/to/your/project/CMakeLists.txt
```