llvm/clang/examples/CMakeLists.txt

if(NOT CLANG_BUILD_EXAMPLES)
  set_property(DIRECTORY PROPERTY EXCLUDE_FROM_ALL ON)
  set(EXCLUDE_FROM_ALL ON)
endif()

if(CLANG_PLUGIN_SUPPORT)
  add_subdirectory(LLVMPrintFunctionNames)
  add_subdirectory(PrintFunctionNames)
  add_subdirectory(AnnotateFunctions)
  add_subdirectory(Attribute)
  add_subdirectory(CallSuperAttribute)
  add_subdirectory(PluginsOrder)
endif()