mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This introduces the Android and Math modules for Android in the platform specific overlay.
18 lines
461 B
CMake
18 lines
461 B
CMake
|
|
add_library(swift_math
|
|
Math.swift)
|
|
set_target_properties(swift_math PROPERTIES
|
|
Swift_MODULE_NAME math)
|
|
target_link_libraries(swift_math PRIVATE
|
|
SwiftAndroid
|
|
swiftCore)
|
|
|
|
install(TARGETS swift_math
|
|
ARCHIVE DESTINATION "${SwiftOverlay_INSTALL_LIBDIR}"
|
|
LIBRARY DESTINATION "${SwiftOverlay_INSTALL_LIBDIR}"
|
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
|
emit_swift_interface(swift_math)
|
|
install_swift_interface(swift_math)
|
|
|
|
embed_manifest(swift_math)
|