Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.17 KB

File metadata and controls

26 lines (18 loc) · 1.17 KB

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...