Closed wow2006 closed 5 years ago
I just remove the empty string from add_executable
.
What about the other comment? "test-app" is duplicated twice - and that happens for each test. I dunno if it matters but it looks fishy. :)
yes we need one Name and second for command add_test
It just shortcuts for this command
add_test(NAME test-app COMMAND test-app)
You can run all test cases using
> cd build
> cmake path/to/main/CMakeLists.txt
> make
> ctest
OK, thanks! :)
Thanks! Looks mostly good, just a few questions.