Skip to content

A C project template with support for CMake and Unity test framework

License

Notifications You must be signed in to change notification settings

peterdn/C-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C project template Build Status

This is a C project template with the following features:

Usage

Simply build with CMake:

git clone [email protected]:peterdn/C-project-template.git my-project
cd $_/build
cmake ..
make -j

To run tests:

make test

Project directory structure

  • app/ -- Application source code.
  • include/ -- Library headers.
    • example/ -- Headers for an example library.
  • src/ -- Library source code.
  • test/ -- Test source code.
    • unity/ -- Unity test framework source.

Build directory structure

  • bin/ -- Application binaries.
    • test/ -- Test binaries.
  • lib/ -- Libraries.

License

Distributed under the BSD-2-Clause license. See LICENSE for details.

Unity unit test framework is distributed under the MIT license. See test/unity/license.txt for details.

About

A C project template with support for CMake and Unity test framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published