if("${qmltest_NO_ADD_TEST}" STREQUAL FALSE AND NOT "${qmltest_DEFAULT_NO_ADD_TEST}" STREQUAL "TRUE") add_test(${qmltest_TARGET} make ${qmltest_TARGET})
Calling make directly like this prevents building with other build tools, such as ninja. I think the correct way to do this is to a custom target with a DEPENDS. Jussi?
if("${ qmltest_ NO_ADD_ TEST}" STREQUAL FALSE AND NOT "${qmltest_ DEFAULT_ NO_ADD_ TEST}" STREQUAL "TRUE")
add_ test(${ qmltest_ TARGET} make ${qmltest_TARGET})
Calling make directly like this prevents building with other build tools, such as ninja. I think the correct way to do this is to a custom target with a DEPENDS. Jussi?