I am developing my application using Visual Studio 2015.
I have 6 projects in the solution of which 5 are libraries and one is a executable.
The executable project contains my test files and I am using Catch framework
for testing. So I will be having 5 cpp
files in the executable project. How can I run each test one by one using CMake
?
add_test
function of CMake
takes the executable name as command and runs all tests at once. I need to run each test separately.