
27 Jul
2017
27 Jul
'17
9:29 a.m.
For a run test, you would do, something like:
add_executable(footest footest.cpp) add_test(NAME footest COMMAND $<TARGET_FILE:footest>)
"If <command> specifies an executable target (created by add_executable()) it will automatically be replaced by the location of the executable created at build time." So, add_test(NAME footest COMMAND footest)