Skip to content

Instantly share code, notes, and snippets.

@Kuniwak
Created February 28, 2019 08:25
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Kuniwak/9d461d8e0c7c055e488f574ecbda7ba0 to your computer and use it in GitHub Desktop.
Useful xcconfig for SwiftSyntax
CUSTOM_SWIFT_SOURCE = $(SRCROOT)/path/to/swift-source
HEADER_SEARCH_PATHS = $(CUSTOM_SWIFT_SOURCE)/swift/include/swift-c/SyntaxParser
LIBRARY_SEARCH_PATHS = $(CUSTOM_SWIFT_SOURCE)/build/Ninja-RelWithDebInfoAssert/swift-macosx-x86_64/lib
LD_RUNPATH_SEARCH_PATHS = $(LIBRARY_SEARCH_PATHS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment