Skip to content

hbatagelo/cpp_starter_project

Repository files navigation

cpp_starter_project

Codacy Badge Build Status Build status codecov


A barebones C++ project using Conan for package management and CMake as build system, based on Jason Turner's project. The example code for Google Test is based on the code from the talk "Introduction to Google Mock" by Donald Whyte.

Build Requirements

  • CMake 3.10 or greater.
  • Conan.
  • A C++20-standard-compliant compiler.

Installation

On Linux:

git clone https://github.com/hbatagelo/cpp_starter_project
cd cpp_starter_project
./build.sh

On Windows (MSVC 14.2*):

git clone https://github.com/hbatagelo/cpp_starter_project
cd cpp_starter_project
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --config "Release"

Use gen_vs_ln.bat to create a Visual Studio solution file. By default, a VS 2019 solution file is generated (in ./vs16/). Use 15 as argument for VS 2017. These solutions are targeted to x86-x64.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors