Added testing instructions to template
This commit is contained in:
parent
c80093f929
commit
94d30f6d91
12
README.md
12
README.md
@ -16,3 +16,15 @@ The program should now be compiled at ./build/bin/something
|
|||||||
Simply run the program using:
|
Simply run the program using:
|
||||||
|
|
||||||
build/bin/something
|
build/bin/something
|
||||||
|
|
||||||
|
## Testing the Project
|
||||||
|
In order to compile the tests for the project, simply run these two commands:
|
||||||
|
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Debug -B build -S .
|
||||||
|
cmake --build build
|
||||||
|
|
||||||
|
The program should now be compiled at ./build/bin/somethingTest
|
||||||
|
|
||||||
|
Simply run the tests using:
|
||||||
|
|
||||||
|
build/bin/somethingTest
|
Loading…
Reference in New Issue
Block a user