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
+
1
12
cmake_minimum_required (VERSION 3.26...3.29 )
2
13
project (SwiftSubprocess LANGUAGES C Swift )
3
14
list (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
+
1
12
add_library (Subprocess )
2
13
3
14
add_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
+
1
12
target_sources (Subprocess PRIVATE
2
13
Execution.swift
3
14
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
+
1
12
target_sources (Subprocess PRIVATE process_shims.c )
2
13
3
14
target_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
+
1
12
include_guard ()
2
13
3
14
# TODO: Use find_package to find a pre-built SwiftSystem
You can’t perform that action at this time.
0 commit comments