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-essentialsudo apt-get install cmakesudo apt-get install openmpi-binsudo apt-get install libopenmpi-devsudo apt-get install libgsl-devsudo apt-get install libboost-all-dev
-
Run
yo yactto scaffold your cpp app -
Run
gulp watchto preview and watch for changes -
Run
gulp cmaketo makebuilddirectory -
Run
gulp buildto build app -
Run
gulp testto run basic test
*** (TBD)
*** (TBD)