Embedding libswiftFrontEnd

I am building a command line tool in C++ which I need to link against libswiftFrontEnd (and not only). Of course it depends on other libraries that are not linked so I am getting "Undefined symbols..." error. Is there something like llvm-config for swift that can help me list the libraries I need to link against? Can I use the swift compiler classes (as CompilerInstance, ASTWalker etc.) in my project the same way I can do it with LLVM/Clang (e.g. https://clang.llvm.org/docs/RAVFrontendAction.html )?

Terms of Service

Privacy Policy

Cookie Policy