Files
swift-mirror/Runtimes/Overlay/Android/Math/CMakeLists.txt
Saleem Abdulrasool 4b376025ce Runtimes: add overlay for Android platform
This introduces the Android and Math modules for Android in the platform
specific overlay.
2025-04-07 16:03:58 -07:00

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)