-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Description
As a side project, I'm working on gtest features to detect unittests that have assertions that aren't executed. When I use gcc as my build compiler, IntrospectionTest builds and runs fine. However, when I use clang as my build compiler, IntrospectionTest builds but skips most of its tests; it appears that NodeIntrospection::hasIntrospectionSupport() returns false.
I've verified that my cmake commands for both build trees are the same, and I see that CLANG_TOOLING_BUILD_AST_INTROSPECTION is ON in CMakeCache.txt. I don't understand why it's taking the "off" path in this case, and failing to generate the fully functional header.
If this is some subtle misconfiguration error on my part, great; if not, it seems like the conditions in the Introspection/CMakeLists.txt needs a bit of tweaking.