Debian Codegraph @

llvm/unittests/Passes/Plugins/DoublerPlugin/CMakeLists.txt

raw
1 add_llvm_library(DoublerPlugin MODULE BUILDTREE_ONLY
2 DoublerPlugin.cpp
3 )
4
5 # Put PLUGIN next to the unit test executable.
6 set_output_directory(DoublerPlugin
7 BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/../
8 LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/../
9 )
10 set_target_properties(DoublerPlugin PROPERTIES FOLDER "Tests")
11
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(DoublerPlugin intrinsics_gen)
15 add_dependencies(PluginsTests DoublerPlugin)