mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
CMake supports the notion of installation components. Right now we have some custom code for supporting swift components. I think that for installation purposes, it would be nice to use the CMake component system. This should be a non-functional change. We should still only be generating install rules for targets and files in components we want to install, and we still use the install ninja target to install everything.
8 lines
272 B
CMake
8 lines
272 B
CMake
swift_install_in_component(DIRECTORY
|
|
ftdetect
|
|
syntax
|
|
DESTINATION "share/vim/vim73"
|
|
COMPONENT editor-integration
|
|
PATTERN ".*" EXCLUDE)
|
|
|