mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This eliminates us setting an LLVM_ prefixed variable in a situation where there is a viable alternative. We want to eliminate as many of these as possible since they can cause conflicts with variables set in LLVMConfig.cmake. I also added some convenience tablegen functions in AddSwiftTableGen.cmake and changed all tblgen users to use that instead. rdar://26154980
4 lines
136 B
CMake
4 lines
136 B
CMake
set(LLVM_TARGET_DEFINITIONS Options.td)
|
|
swift_tablegen(Options.inc -gen-opt-parser-defs)
|
|
swift_add_public_tablegen_target(SwiftOptions)
|