Skip to content
Public template

About

Template repository for a C project using CMake, submodules, a custom unit test library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

template

[One-line description of what this project does]

This particular project is a template repository.

What it is

[Describe what this project does and its main features. What problem does it solve?]

The main feature of the template project is enabling quick scaffolding of other projects.

What it isn't

[Describe what this project is not, and why.]

This project is not:

  • A real application; It's just a template repository.

Build and installation

Prerequisites

  • Linux
  • GCC or Clang
  • CMake
  • [Other dependencies]
git clone https://github.com/xdab/template-c.git
cd template-c
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
sudo make install

Usage

# Basic usage
template [options]

# Show help
template --help

# Example use case
template -x value -y value

Command Line Arguments

Short Long Description
-h --help Show help message
-v --verbose Verbose output
-V --version Show version

Configuration File

Optionally, configuration can be read from a file using -c FILE or --config=FILE.

The file uses simple key=value syntax with # comments.

Example

# template.conf
option1=value1
option2=value2

Dependencies

License

GNU General Public License v3.0 - see LICENSE

About

Template repository for a C project using CMake, submodules, a custom unit test library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages