Files
swift-mirror/utils/CMakeLists.txt
Michael Gottesman 8b8abd6fa2 [cmake] Add a new component llvm-toolchain-dev-tools and make FileCheck installation use it.
This will let me reuse toolchain-dev-tools for tools useful in a just built
toolchain but that are from Swift rather than copied from LLVM.
2021-11-05 20:37:54 -07:00

18 lines
711 B
CMake

add_subdirectory(vim)
add_subdirectory(lldb)
add_subdirectory(api_checker)
swift_install_in_component(FILES swift-mode.el
DESTINATION "share/emacs/site-lisp"
COMPONENT editor-integration)
swift_install_in_component(PROGRAMS swift-api-dump.py
DESTINATION bin
COMPONENT tools)
# We install LLVM's FileCheck, if requested.
file(TO_CMAKE_PATH "${LLVM_BUILD_BINARY_DIR}/bin/FileCheck${CMAKE_EXECUTABLE_SUFFIX}" _SWIFT_UTILS_FILECHECK)
swift_install_in_component(PROGRAMS "${_SWIFT_UTILS_FILECHECK}"
DESTINATION bin
COMPONENT llvm-toolchain-dev-tools)