Skip to content

This is a C++ CMake template. Coding in the src folder will be compiled as a static library and reuse in example and test projects.

License

Notifications You must be signed in to change notification settings

kcwongjoe/cpp_project_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Platform Compiler MIT license

How to use this template

  1. Rename project_name in CMakeLists.txt and the folder inside include

  2. Run

    git submodule add https://github.com/kcwongjoe/doxygen_theme_flat_design docs/theme
    
  3. Delete this section after finished.

Your Project Title

Descible your project.

Features

  • feature 1
  • feature 2
  • feature 3

This project was tested on Window 10 in Visual studio 2019 (16.7.7) compiler.

Usage

some code......

For more details, please see example code and Documentation

Requiements

Build solution

Run buildvs.bat in Solution folder.

Type build x86 or build x64

Run Test

Run in CTest

Run runtest.bat in Solution folder

Run in Visual Studio

  1. Download OpenCppCoveragePlugin and install:

    https://marketplace.visualstudio.com/items?itemName=OpenCppCoverage.OpenCppCoveragePlugin

  2. Right click the test project and click the OpenCppCoverage Settings

  3. Click the Toggle projects selection Button and select the test project and the source project in the Selected projects field.

  4. Click the Run Coverage Button

About

This is a C++ CMake template. Coding in the src folder will be compiled as a static library and reuse in example and test projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published