Specify Build Config When Using CTest #40
Labels
C++
Affects project source templates or init code for C++
C
Affects project source templates or init code for C
Improvement
Improvement of an existing feature
Templates
Changes in project source templates
In the test script for C and C++ project source templates, add the
--build-config
argument when callingctest
. Otherwise, when using build systems with multi-config builds, CTest might complain about the fact that it's ambiguous which build configuration (e.g. Release vs. Debug) to use for the tests.Solution:
Add
--build-config
argument in test.sh scripts.The text was updated successfully, but these errors were encountered: