add_test: dependency to called exe built by add_executable / definition of ARGS in Makefile's test rule
make rule associated to
add_test(...) essentially looks like
ctest.exe --force-new-ctest-process $(ARGS).
Is it possible to
CMakeLists.txton a test-by-test basis?
- to automatically add a dependency (
target-exe <- test(exe)) if a test runs an exe built by an
add_executabletarget (with target name, say,
target-exe)? I realized that in
target-exeis replaced by the full path to the
- add the feature to optionally add to
add_testa cmake target - as opposed to a
ctestname - which should be updated if needed before running the test?
Hopefully I did not miss something obvious in the documentation.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information