File tree Expand file tree Collapse file tree 5 files changed +55
-0
lines changed Expand file tree Collapse file tree 5 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ ##===----------------------------------------------------------------------===##
2+ ##
3+ ## This source file is part of the Swift.org open source project
4+ ##
5+ ## Copyright (c) 2025 Apple Inc. and the Swift project authors
6+ ## Licensed under Apache License v2.0 with Runtime Library Exception
7+ ##
8+ ## See https://swift.org/LICENSE.txt for license information
9+ ##
10+ ##===----------------------------------------------------------------------===##
11+
112cmake_minimum_required (VERSION 3.26...3.29)
213project (Subprocess LANGUAGES C Swift)
314list (APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR} /cmake/modules" )
Original file line number Diff line number Diff line change 1+ ##===----------------------------------------------------------------------===##
2+ ##
3+ ## This source file is part of the Swift.org open source project
4+ ##
5+ ## Copyright (c) 2025 Apple Inc. and the Swift project authors
6+ ## Licensed under Apache License v2.0 with Runtime Library Exception
7+ ##
8+ ## See https://swift.org/LICENSE.txt for license information
9+ ##
10+ ##===----------------------------------------------------------------------===##
11+
112add_library (Subprocess)
213
314add_subdirectory (_SubprocessCShims)
Original file line number Diff line number Diff line change 1+ ##===----------------------------------------------------------------------===##
2+ ##
3+ ## This source file is part of the Swift.org open source project
4+ ##
5+ ## Copyright (c) 2025 Apple Inc. and the Swift project authors
6+ ## Licensed under Apache License v2.0 with Runtime Library Exception
7+ ##
8+ ## See https://swift.org/LICENSE.txt for license information
9+ ##
10+ ##===----------------------------------------------------------------------===##
11+
112target_sources (Subprocess PRIVATE
213 Execution.swift
314 Buffer.swift
Original file line number Diff line number Diff line change 1+ ##===----------------------------------------------------------------------===##
2+ ##
3+ ## This source file is part of the Swift.org open source project
4+ ##
5+ ## Copyright (c) 2025 Apple Inc. and the Swift project authors
6+ ## Licensed under Apache License v2.0 with Runtime Library Exception
7+ ##
8+ ## See https://swift.org/LICENSE.txt for license information
9+ ##
10+ ##===----------------------------------------------------------------------===##
11+
112target_sources (Subprocess PRIVATE process_shims.c)
213
314target_include_directories (Subprocess PRIVATE
Original file line number Diff line number Diff line change 1+ ##===----------------------------------------------------------------------===##
2+ ##
3+ ## This source file is part of the Swift.org open source project
4+ ##
5+ ## Copyright (c) 2025 Apple Inc. and the Swift project authors
6+ ## Licensed under Apache License v2.0 with Runtime Library Exception
7+ ##
8+ ## See https://swift.org/LICENSE.txt for license information
9+ ##
10+ ##===----------------------------------------------------------------------===##
11+
112include_guard ()
213
314# TODO: Use find_package to find a pre-built SwiftSystem
You can’t perform that action at this time.
0 commit comments