Mercurial > hg > CbC > CbC_llvm
comparison lld/cmake/modules/AddLLD.cmake @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
comparison
equal
deleted
inserted
replaced
172:9fbae9c8bf63 | 173:0572611fdcc8 |
---|---|
11 set_target_properties(${name} PROPERTIES FOLDER "lld libraries") | 11 set_target_properties(${name} PROPERTIES FOLDER "lld libraries") |
12 | 12 |
13 if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) | 13 if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) |
14 if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR | 14 if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR |
15 NOT LLVM_DISTRIBUTION_COMPONENTS) | 15 NOT LLVM_DISTRIBUTION_COMPONENTS) |
16 set(export_to_lldtargets EXPORT lldTargets) | 16 set(export_to_lldtargets EXPORT LLDTargets) |
17 set_property(GLOBAL PROPERTY LLD_HAS_EXPORTS True) | 17 set_property(GLOBAL PROPERTY LLD_HAS_EXPORTS True) |
18 endif() | 18 endif() |
19 | 19 |
20 install(TARGETS ${name} | 20 install(TARGETS ${name} |
21 COMPONENT ${name} | 21 COMPONENT ${name} |
46 add_lld_executable(${name} ${ARGN}) | 46 add_lld_executable(${name} ${ARGN}) |
47 | 47 |
48 if (LLD_BUILD_TOOLS) | 48 if (LLD_BUILD_TOOLS) |
49 if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR | 49 if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR |
50 NOT LLVM_DISTRIBUTION_COMPONENTS) | 50 NOT LLVM_DISTRIBUTION_COMPONENTS) |
51 set(export_to_lldtargets EXPORT lldTargets) | 51 set(export_to_lldtargets EXPORT LLDTargets) |
52 set_property(GLOBAL PROPERTY LLD_HAS_EXPORTS True) | 52 set_property(GLOBAL PROPERTY LLD_HAS_EXPORTS True) |
53 endif() | 53 endif() |
54 | 54 |
55 install(TARGETS ${name} | 55 install(TARGETS ${name} |
56 ${export_to_lldtargets} | 56 ${export_to_lldtargets} |