Yeoman Generator that scaffolds out a cpp app using gulp and cmake for the build process
- 01/11/2016: add options to select Catch or googletest
- 24/10/2016: Yact can include yaml-cpp, boost, gsl libraries to new project
- Automatically build and test with
gulp watch
- Automatically generate and link test app with googletest and googlemock framework.
-
Install dependencies:
npm install --global yo gulp-cli
-
Install the generator:
npm install --global generator-yact
-
Install dependent libraries for C++:
sudo apt-get install build-essential
sudo apt-get install cmake
sudo apt-get install openmpi-bin
sudo apt-get install libopenmpi-dev
sudo apt-get install libgsl-dev
sudo apt-get install libboost-all-dev
-
Run
yo yact
to scaffold your cpp app -
Run
gulp watch
to preview and watch for changes -
Run
gulp cmake
to makebuild
directory -
Run
gulp build
to build app -
Run
gulp test
to run basic test
*** (TBD)
*** (TBD)