llvm/clang/examples/PluginsOrder/CMakeLists.txt

add_llvm_library(PluginsOrder MODULE PluginsOrder.cpp PLUGIN_TOOL clang)

if(WIN32 OR CYGWIN)
  set(LLVM_LINK_COMPONENTS
    Support
  )
  clang_target_link_libraries(PluginsOrder PRIVATE
    clangAST
    clangFrontend
    )
endif()