Skip to content

Barebones for a C++ repo with cmake and googletest, and a status bar from travis

Notifications You must be signed in to change notification settings

rmcolq/cmake-googletest-travis-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

cmake-googletest-travis-skeleton

Mostly based on https://github.com/snikulov/google-test-examples

Typical C++ project structure: http://hiltmon.com/blog/2013/07/03/a-simple-c-plus-plus-project-structure/

How to check C++11 supported (commented out as didn't work out of the box for me): https://www.guyrutenberg.com/2014/01/05/enabling-c11-c0x-in-cmake/

Extra example googletests: https://github.com/maitesin/blog/tree/master/google_test_2015_12_22

Background reading: http://www.kaizou.org/2014/11/gtest-cmake/ https://crascit.com/2015/07/25/cmake-gtest/ http://derekmolloy.ie/hello-world-introductions-to-cmake/

Fixing my initial Github problems with pushing (https vs ssh): https://rc.fas.harvard.edu/resources/documentation/software/git-and-github-on-odyssey/

Enabling Travis on a new repository:

  1. go to https://travis-ci.org/profile/rmnorris (or your username)
  2. sync with github so new repo is visible
  3. click cross next to repo name to enable travis to work with it
  4. follow the other instructions on the page...

About

Barebones for a C++ repo with cmake and googletest, and a status bar from travis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published