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't
3 # work with DLLs on Windows (where a shared library can't have undefined
4 # references), so just skip this testcase on Windows.
5 if (NOT WIN32 AND NOT CYGWIN)
6 set(LLVM_LINK_COMPONENTS Support Passes Core AsmParser)
7 add_llvm_unittest(PluginsTests
10 export_executable_symbols_for_plugins(PluginsTests)
11 target_link_libraries(PluginsTests PRIVATE LLVMTestingSupport)
13 unset(LLVM_LINK_COMPONENTS)
14 add_subdirectory(TestPlugin)
15 add_subdirectory(DoublerPlugin)