Giter Club home page Giter Club logo

c_project's Introduction

C_Project

A template for C Projects using either [CMake, Autotools] and Doxygen for building and documentation generation, respectively.

Features

  • Includes automatically look inside of the include directory
  • By including info.h, variables defined in CMakeLists.txt or include/autotools_info.h.in are exposed to the program, such as the project's name and version information
  • Argument parsing
  • Scripts to format, compile, and run the program, script to build documentation with Doxygen
    • Doxygen formatting can be modified in Doxyfile
    • Project code formatting can be modified in .clang-format
  • Github Action to auto-generate documentation with Doxygen and publish to Github Pages
    • A gh-pages branch must exist for this Action to function without error
    • View docs here
  • compile.sh will compile the project
  • run.sh will compile and run the project

Requirements

  • For CMake
    • cmake==3.13.0^
  • doxygen==1.9.1^
  • clang-format==14.0.0^
  • A C compiler

Setup

To configure the directory for either CMake or Autotools, run setup.sh [either "cmake" or "autotools" here]. After this, it should be possible to run the program with just run.sh

Notes

This template repository is licensed with the Unlicense, so derived repositories from this template are free to be relicensed as their owners see fit.

c_project's People

Contributors

charlesaverill avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.