brintos

brintos / llvm-project-archived public Read only

0
0
Text · 612 B · 9fd543d Raw
18 lines · plain
1# The plugin expects to not link against the Support and Core libraries,2# but expects them to exist in the process loading the plugin. This doesn't3# work with DLLs on Windows (where a shared library can't have undefined4# references), so just skip this testcase on Windows.5if (NOT WIN32 AND NOT CYGWIN)6  set(LLVM_LINK_COMPONENTS Support Passes Core AsmParser)7  add_llvm_unittest(PluginsTests8    PluginsTest.cpp9 10    EXPORT_SYMBOLS11    )12  target_link_libraries(PluginsTests PRIVATE LLVMTestingSupport)13 14  unset(LLVM_LINK_COMPONENTS)15  add_subdirectory(TestPlugin)16  add_subdirectory(DoublerPlugin)17endif()18