cmakerer-1.2.0
توضیحات
Generates CMakeLists.txt files from arbitrary C/C++ codebases.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cmakerer-1.2.0 |
| نام | cmakerer |
| نسخه کتابخانه | 1.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jeff Dileo |
| ایمیل نویسنده | jeff.dileo@nccgroup.trust |
| آدرس صفحه اصلی | https://github.com/nccgroup/cmakerer |
| آدرس اینترنتی | https://pypi.org/project/cmakerer/ |
| مجوز | BSD (2 Clause) |
# CMakerer
This script generates `CMakeLists.txt` from arbitrary C/C++ codebases. It is
not intended to produce "buildable" cmake configurations, but instead enable
CLion to load and index the code.
# Installation
```bash
pip3 install --user cmakerer
```
```bash
python3 setup.py sdist bdist_wheel
pip3 install --user dist/cmakerer-*.whl
```
# Usage
```bash
cmakerer -o ~/path/to/cpp/code -x src/windows -! tests -z ~/path/to/cpp/code
```
# Features
* Detects both standard and system include paths.
* Handles "multi-encoding" C/C++ files
* Exclude directory paths with `-x`
* Exclude (sub)directory segments with `-!`
* Exclude cmake directories with `-z`
* Add compiler defines with `-DVAR` or `-DVAR=value`
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.0 | Python |
نحوه نصب
نصب پکیج whl cmakerer-1.2.0:
pip install cmakerer-1.2.0.whl
نصب پکیج tar.gz cmakerer-1.2.0:
pip install cmakerer-1.2.0.tar.gz