MattClarkson / CMakeCatchTemplate

Template C++ project using CMake, CTest, Catch, and a SuperBuild for dependencies such as Boost, gflags, glog, VTK, OpenCV and PCL.
BSD 3-Clause "New" or "Revised" License
30 stars 13 forks source link

Add usage examples #62

Closed tdowrick closed 4 years ago

tdowrick commented 4 years ago

There are some suggested usage scenarios outlined in the README.md. We should have some examples of how to configure/build in each case.

e.g. for the simplest use case 'Command Line Apps'

# Build
git clone https://github.com/MattClarkson/CMakeCatchTemplate 
mkdir build 
cd build 
cmake ../CMakeCatchTemplate 
make 

# Run tests & code example
cd MYPROJECT-build/bin 
./mpBasicTest 
./mpCommandLineArgsTest sample_argument 
./mpMyFirstApp 
tdowrick commented 4 years ago

I will add these on my forked repo.

tdowrick commented 4 years ago

Closing as we have examples in GitHub Actions