brintos

brintos / llvm-project-archived public Read only

0
0
Text · 557 B · ba94b01 Raw
16 lines · plain
1add_llvm_library(TestPlugin MODULE BUILDTREE_ONLY2    TestPlugin.cpp3    )4 5# Put PLUGIN next to the unit test executable.6set_output_directory(TestPlugin7    BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/../8    LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/../9    )10set_target_properties(TestPlugin PROPERTIES FOLDER "Tests")11 12# The plugin depends on some of the output files of intrinsics_gen, so make sure13# it is built before the plugin.14add_dependencies(TestPlugin intrinsics_gen)15add_dependencies(PluginsTests TestPlugin)16