mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
To use _RegexParser from SwiftSyntax. * Create 'libswiftCompilerModules_SwiftSyntax.a' which is a subset of 'libswiftCompilerModules.a' * Link 'lib_InternalSwiftSyntaxParser' to 'libswiftCompilerModules_SwiftSyntax.a' * Factor out swift runtime linking logic in CMake so that dynamic libraries can link to Swift runtime, in addition to executables * Link 'lib_InternalSwiftSyntaxParser' to swift runtime
14 lines
424 B
CMake
14 lines
424 B
CMake
# This source file is part of the Swift.org open source project
|
|
#
|
|
# Copyright (c) 2022 Apple Inc. and the Swift project authors
|
|
# Licensed under Apache License v2.0 with Runtime Library Exception
|
|
#
|
|
# See http://swift.org/LICENSE.txt for license information
|
|
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
|
|
|
|
add_swift_compiler_module(Basic
|
|
ADD_TO_SYNTAXPARSE
|
|
SOURCES
|
|
SourceLoc.swift
|
|
Utils.swift)
|