1 add_llvm_library(TestPlugin MODULE BUILDTREE_ONLY
5 # Put PLUGIN next to the unit test executable.
6 set_output_directory(TestPlugin
7 BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/../
8 LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/../
10 set_target_properties(TestPlugin PROPERTIES FOLDER "Tests")
12 # The plugin depends on some of the output files of intrinsics_gen, so make sure
13 # it is built before the plugin.
14 add_dependencies(TestPlugin intrinsics_gen)
15 add_dependencies(PluginsTests TestPlugin)