Files
swift-mirror/stdlib/public/Darwin/Intents/CMakeLists.txt
Mike Ash 4fb99998ae [Build] Use magic linker symbols to specify an @rpath-relative install name when targeting pre-stable-ABI OSes.
Magic symbols of the form $ld$install_name$os9.0$@rpath/libswiftCore.dylib tell the linker to use that install name when targeting that OS version. Use these symbols to specify an @rpath install name for all back-deployment libraries when targeting watchOS 2.0-5.1, iOS 7.0-12.1, and macOS 10.9-10.14.

rdar://problem/45027809
2019-03-22 10:04:39 -04:00

44 lines
1.7 KiB
CMake

cmake_minimum_required(VERSION 3.4.3)
include("../../../../cmake/modules/StandaloneOverlay.cmake")
add_swift_target_library(swiftIntents ${SWIFT_SDK_OVERLAY_LIBRARY_BUILD_TYPES} IS_SDK_OVERLAY
INBooleanResolutionResult.swift
INCallRecord.swift
INDoubleResolutionResult.swift
INGetCarLockStatusIntentResponse.swift
INGetCarPowerLevelStatusIntentResponse.swift
INIntegerResolutionResult.swift
INIntent.swift
INNotebookItemTypeResolutionResult.swift
INParameter.swift
INPlayMediaIntent.swift
INRequestRideIntent.swift
INRideOption.swift
INSaveProfileInCarIntent.swift
INSearchCallHistoryIntent.swift
INSearchForPhotosIntentResponse.swift
INSetCarLockStatusIntent.swift
INSetClimateSettingsInCarIntent.swift
INSetDefrosterSettingsInCarIntent.swift
INSetProfileInCarIntent.swift
INSetRadioStationIntent.swift
INSetSeatSettingsInCarIntent.swift
INShortcut.swift
INStartPhotoPlaybackIntentResponse.swift
INStartWorkoutIntent.swift
NSStringIntents.swift
"${SWIFT_SOURCE_DIR}/stdlib/linker-support/magic-symbols-for-install-name.c"
SWIFT_COMPILE_FLAGS "${SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS}"
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}"
TARGET_SDKS OSX IOS IOS_SIMULATOR WATCHOS WATCHOS_SIMULATOR
SWIFT_MODULE_DEPENDS_OSX Darwin CoreGraphics Dispatch IOKit Foundation CoreLocation CoreFoundation ObjectiveC # auto-updated
SWIFT_MODULE_DEPENDS_IOS Darwin Dispatch Foundation CoreLocation CoreFoundation ObjectiveC # auto-updated
SWIFT_MODULE_DEPENDS_WATCHOS Darwin Dispatch Foundation CoreLocation CoreFoundation ObjectiveC # auto-updated
FRAMEWORK_DEPENDS_WEAK Intents
DEPLOYMENT_VERSION_OSX ${SWIFTLIB_DEPLOYMENT_VERSION_INTENTS_OSX}
DEPLOYMENT_VERSION_IOS ${SWIFTLIB_DEPLOYMENT_VERSION_INTENTS_IOS}
)