COS 214 Project
- Please put all header files in the
includedirectory. - All
.cppfiles go in thesrcdirectory. - After adding a file to the project, make sure to add it to the
CMakeLists.txtfile.
- Try running
./build.sh. If you get a permission denied error, first runchmod +x build.sh - Change directory into the
builddirectory and runmake. This will compile the project and create an executable in thebuilddirectory. You can also run it withmake run
- Create a folder called
buildin the main directory. - Change directory into
buildand runcmake .. - Now you can use
makeormake runinside thebuilddirectory like normal.
- To run all the tests, open a terminal in the build directory and run
make test