diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-02-28 23:00:50 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2018-02-28 23:00:50 +0000 |
commit | 9b622654711c731caebdf39ef7aabe3ff57b1245 (patch) | |
tree | ff1b1e8819a0e82351e3ad803ade684dca385b3e /tools/dsymutil | |
parent | 98acc6a71327e492396b23f8432447950a936588 (diff) |
build: add the ability to create a symlink for dsymutil
Add a `LLVM_INSTALL_CCTOOLS_SYMLINKS` to mirror
`LLVM_INSTALL_BINUTILS_SYMLINKS`. For now, this allows us to create
symlinks for `dsymutil` to `llvm-dsymutil`. This option is off by
default, but the user can enable it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326381 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/dsymutil')
-rw-r--r-- | tools/dsymutil/CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/dsymutil/CMakeLists.txt b/tools/dsymutil/CMakeLists.txt index 1dcb2116f34..d002afb3dea 100644 --- a/tools/dsymutil/CMakeLists.txt +++ b/tools/dsymutil/CMakeLists.txt @@ -21,6 +21,11 @@ add_llvm_tool(llvm-dsymutil intrinsics_gen ) -IF(APPLE) +if(APPLE) target_link_libraries(llvm-dsymutil PRIVATE "-framework CoreFoundation") -ENDIF(APPLE) +endif(APPLE) + +if(LLVM_INSTALL_CCTOOLS_SYMLINKS) + add_llvm_tool_symlink(dsymutil llvm-dsymutil) +endif() + |