Single header generator for C++ libraries.
Project description
cppgsh by Python Library
Overview
This Program Inspired by Quom I made.
Goal
- Automation Build Single header for C++.
Implementation
What is different from the original Quom?
-
It is automatically looks for the root header or source and creates a single header in the proper order.
-
Put the include file at the beginning to eliminate duplication.
Install
$ pip install cppgsh
UnInstall
$ pip uninstall cppgsh
Requirement
- python3.6 later.
Liscense
run command Environment
- Windows
- Linux
- Mac OSX
Usage
usage: cppgsh [-h] [--version] [--include_guard format]
[--include_directory INCLUDE_DIRECTORY]
[--source_directory SOURCE_DIRECTORY]
[--license_files LICENSE_FILES] [--del_extern_C]
[--linesep LINESEP] [--encoding ENCODING]
input output
Single header generator for C++ libraries.
positional arguments:
input Input directory path.
output Output file path of the generated single header file.
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
--include_guard format, -g format
Regex format of the include guard. Default: None
--include_directory INCLUDE_DIRECTORY, -I INCLUDE_DIRECTORY
Add include directories for header files.
--source_directory SOURCE_DIRECTORY, -S SOURCE_DIRECTORY
Set the source directories for source files. Use ./ or
.\ in front of a path to mark as relative to the
header file.
--license_files LICENSE_FILES, -L LICENSE_FILES
Set headline writing License text file path
--del_extern_C delete define "extern "C""
--linesep LINESEP, -l LINESEP
line separator of output file.
--encoding ENCODING, -e ENCODING
The encoding used to read and write all files.
Example
TODO
Libraries used
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cppgsh-0.1.2.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file cppgsh-0.1.2.tar.gz
.
File metadata
- Download URL: cppgsh-0.1.2.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5719d889cd60d884d31cf721c9299f69eabb0a5aa20bf8160825d136b2e16dda |
|
MD5 | eec776bff9384914b5b474e3534d0f08 |
|
BLAKE2b-256 | d568bcaa29eb9aadab5594c3db45faa16822d6595b385a46e2f44762f7c307a9 |
File details
Details for the file cppgsh-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: cppgsh-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34f24f4d4f7bbfb1e8a65db307ac6da0e793a281c7593767049c20c445ecc04a |
|
MD5 | 63a0e17940ebe5cb44a8750cc7a60c18 |
|
BLAKE2b-256 | 097391c24a0ce82a5474fd618c1d8deae17148afbb574132002b3aa893edcdcf |