add_library(SwiftSyntaxCodeActions STATIC
  AddDocumentation.swift
  AddExplicitEnumRawValues.swift
  AddSeparatorsToIntegerLiteral.swift
  ApplyDeMorganLaw.swift
  ConvertCommentToDocComment.swift
  ConvertComputedPropertyToStored.swift
  ConvertComputedPropertyToZeroParameterFunction.swift
  ConvertIfLetToGuard.swift
  ConvertIntegerLiteral.swift
  ConvertJSONToCodableStruct.swift
  ConvertStoredPropertyToComputed.swift
  ConvertStringConcatenationToStringInterpolation.swift
  ConvertZeroParameterFunctionToComputedProperty.swift
  DeclModifierRemover.swift
  FormatRawStringLiteral.swift
  GenerateEnumCaseAccessors.swift
  IndentationRemover.swift
  IntegerLiteralUtilities.swift
  MigrateToNewIfLetSyntax.swift
  OpaqueParameterToGeneric.swift
  PackageManifestEdits.swift
  SwapBinaryOperands.swift
  RemoveRedundantParentheses.swift
  RemoveSeparatorsFromIntegerLiteral.swift
  SyntaxCodeActionProvider.swift
  SyntaxCodeActions.swift
  SyntaxRefactoringCodeActionProvider.swift
)
set_target_properties(SwiftSyntaxCodeActions PROPERTIES
  INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
target_link_libraries(SwiftSyntaxCodeActions PUBLIC
  SourceKitLSP
  SwiftToolsProtocols::LanguageServerProtocol
  SwiftSyntax::SwiftSyntax
)

target_link_libraries(SwiftSyntaxCodeActions PRIVATE
  SwiftToolsProtocols::SKLogging
  SwiftExtensions
  SwiftSyntax::SwiftBasicFormat
  SwiftSyntax::SwiftOperators
  SwiftSyntax::SwiftParser
  SwiftSyntax::SwiftRefactor
  SwiftSyntax::SwiftSyntaxBuilder
)
