| 12345678910111213141516171819202122232425 |
- #[[
- This source file is part of the Swift System open source project
- Copyright (c) 2020 - 2026 Apple Inc. and the Swift System project authors
- Licensed under Apache License v2.0 with Runtime Library Exception
- See https://swift.org/LICENSE.txt for license information
- #]]
- add_library(CSystem STATIC shims.c)
- target_include_directories(CSystem PUBLIC
- "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
- $<INSTALL_INTERFACE:include/CSystem>)
- install(FILES
- include/CSystemDarwin.h
- include/CSystemLinux.h
- include/CSystemShared.h
- include/CSystemWASI.h
- include/CSystemWindows.h
- include/CSystemFreeBSD.h
- include/io_uring.h
- include/module.modulemap
- DESTINATION include/CSystem)
- set_property(GLOBAL APPEND PROPERTY SWIFT_SYSTEM_EXPORTS CSystem)
|