Skip to content

Commit a566bcc

Browse files
committed
[CMake] Respect BUILD_SHARED_LIBS rather than forcing static builds.
1 parent 715f125 commit a566bcc

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

Sources/IDEUtils/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(IDEUtils STATIC
9+
add_library(IDEUtils
1010
gyb_generated/SyntaxClassification.swift
1111
Syntax+Classifications.swift
1212
SyntaxClassifier.swift

Sources/SwiftBasicFormat/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(SwiftBasicFormat STATIC
9+
add_library(SwiftBasicFormat
1010
generated/BasicFormat.swift
1111
SyntaxProtocol+Formatted.swift
1212
Trivia+Indented.swift

Sources/SwiftCompilerSupport/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(SwiftCompilerSupport STATIC
9+
add_library(SwiftCompilerSupport
1010
ConsistencyCheck.swift
1111
)
1212

Sources/SwiftDiagnostics/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(SwiftDiagnostics STATIC
9+
add_library(SwiftDiagnostics
1010
Diagnostic.swift
1111
DiagnosticsFormatter.swift
1212
FixIt.swift

Sources/SwiftOperators/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(SwiftOperators STATIC
9+
add_library(SwiftOperators
1010
Operator.swift
1111
OperatorError+Diagnostics.swift
1212
OperatorError.swift

Sources/SwiftParser/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(SwiftParser STATIC
9+
add_library(SwiftParser
1010
Attributes.swift
1111
Availability.swift
1212
CharacterInfo.swift

Sources/SwiftParserDiagnostics/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(SwiftParserDiagnostics STATIC
9+
add_library(SwiftParserDiagnostics
1010
DiagnosticExtensions.swift
1111
MissingNodesError.swift
1212
ParserDiagnosticMessages.swift

Sources/SwiftSyntax/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(SwiftSyntax STATIC
9+
add_library(SwiftSyntax
1010
AbsolutePosition.swift
1111
BumpPtrAllocator.swift
1212
CommonAncestor.swift

Sources/SwiftSyntaxBuilder/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(SwiftSyntaxBuilder STATIC
9+
add_library(SwiftSyntaxBuilder
1010
ConvenienceInitializers.swift
1111
HasTrailingComma.swift
1212
Indenter.swift

Sources/_SwiftSyntaxMacros/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(_SwiftSyntaxMacros STATIC
9+
add_library(_SwiftSyntaxMacros
1010
ExpressionMacro.swift
1111
Macro.swift
1212
MacroEvaluationContext.swift

0 commit comments

Comments
 (0)