Generate C++ Module

gen_cc_mod is shell tool for generating C++ modules.

Developed in bash code: 100%.

gen_cc_mod shell checker

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

GitHub issues open GitHub contributors

Table of Contents


Navigate to release page download and extract release archive.

To install gen_cc_mod type the following:

tar xvzf gen_cc_mod-x.y.tar.gz
cd gen_cc_mod-x.y
cp -R ~/sh_tool/bin/   /root/scripts/gen_cc_mod/ver.x.y/
cp -R ~/sh_tool/conf/  /root/scripts/gen_cc_mod/ver.x.y/
cp -R ~/sh_tool/log/   /root/scripts/gen_cc_mod/ver.x.y/

alt tag

Or You can use docker to create image/container.

gen_cc_mod docker checker


# Create symlink for shell tool
ln -s /root/scripts/gen_cc_mod/ver.x.y/bin/ /root/bin/gen_cc_mod

# Setting PATH
export PATH=${PATH}:/root/bin/

# Generating module-pair (source+header file)
gen_cc_mod GTKMyOption


gen_cc_mod requires next modules and libraries:

Shell tool structure

gen_cc_mod is based on MOP.

Code structure:

├── bin/
│   └──
├── conf/
│   ├── gen_cc_mod.cfg
│   ├── gen_cc_mod_util.cfg
│   └── template/
│       ├── cc_editorconfig.template
│       ├── cc_source.template
│       └── h_header.template
└── log/
    └── gen_cc_mod.log


Documentation Status

More documentation and info at:

License: GPL v3 License

Copyright (C) 2017 by

gen_cc_mod is free software; you can redistribute it and/or modify it under the same terms as Bash itself, either Bash version 4.2.47 or, at your option, any later version of Bash 4 you may have available.

Lets help and support FSF.

Free Software Foundation