Skip to content

A cmake C++ project template configured for data persistance, unit testing and code coverage

License

Notifications You must be signed in to change notification settings

pandreidoru/cmake_sqlite_boosttest_gcov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMake & SQLite & Boost.Test & GCOV

This is a cmake C++ project template configured for:

Project structure

.
├── cmake
├── CMakeLists.txt
├── inc
│   └── Data.hpp
├── LICENSE
├── README.md
├── src
│   ├── CMakeLists.txt
│   ├── Data.cpp
│   └── main.cpp
└── test
    └── src
        ├── CMakeLists.txt
        ├── DataTest.cpp
        └── TestEntry.cpp
  • The cmake-modules was added to this repository via git-subtree, so you can easily update it with the following command:

    cd root_of_this_project
    git subtree pull --squash --prefix=cmake git@github.com:bilke/cmake-modules.git master

Notes

  • The SQLite database is saved at:

    cmake-build-debug/data.db

  • Code coverage output can be seen opening following file in a web browser:

    cmake-build-debug/test_coverage/index.html

About

A cmake C++ project template configured for data persistance, unit testing and code coverage

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published