GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bialger/cpp_tests: C++ Google Tests crossplatform project template with CI/CD. Has a shell installation script.

BranchesTags
Open more actions menu

Latest commit

 

History

72 Commits
72 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
bin
bin
 
 
cmake
cmake
 
 
lib
lib
 
 
tests
tests
 
 
.clang-format
.clang-format
 
 
.clang-tidy
.clang-tidy
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
PrintOS.cmake
PrintOS.cmake
 
 
README.md
README.md
 
 
install.sh
install.sh
 
 

Repository files navigation

C++ project template with Google Tests and CI/CD

This is a project template. Feel free to use & fork it. It contains all pre-configured CMakeLists.txt, so to use it, replace project name with your one in main CmakeLists.txt, and all target and executable names in CI/CD script. Sample program prints a greeting for the first argument.

How to build and run

Run the following commands from the project directory.

  1. Create CMake cache
cmake -S . -B cmake-build
  1. Build executable target
cmake --build cmake-build --target cpp_tests
  1. Build tests target
cmake --build cmake-build --target cpp_tests_tests
  1. Run executable target
  • On Windows:
.\cmake-build\cpp_tests.exe World
  • On *nix:
./cmake-build/bin/cpp_tests World
  1. Run tests
  • On Windows:
.\cmake-build\cpp_tests_tests.exe
  • On *nix:
./cmake-build/tests/cpp_tests_tests

About

C++ Google Tests crossplatform project template with CI/CD. Has a shell installation script.

Topics

autotestingci-cdci-templatecpp-templatecross-platformgoogletestinstall-scripttemplate-project

Resources

Readme
GPL-3.0 license
Activity

Stars

12 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.