Nodemon for C++ files. Watches C++ files in a directory for changes and compiles to object code.
Currently works on Ubuntu 18.04.
The library was built to automate the generation of C++ object files when writing
.cpp programs. Generating
.o files was a problem for me as I would need to run the following lines of code over and over again:
g++ -o output_file_name source_file.cpp
./output_file_name to execute the program.
This library would reduce the need to type and run the
g++ command manually.
nodejsmust be installed on your laptop.
g++must be installed on your laptop.
From the terminal (Ctrl + T to invoke) run the following
npm install -g recci or
npm i -g recci
Once installed globally, navigate to the folder containing
On the command line within the folder containing the
.cpp files type
An object file
.o with the same name as the
.cpp file will be created.
- Check if
g++is installed in host machine before executing script.
.ofile provided that a flag is passed to
- Create unit tests
- Add functionality to watch more than one