Coding a plugin using third party code directly in source?
I'm trying to make a plugin that leverages a third-party "library." The problem with that is that the instructions of said library tell me to put its source in with my project's. I can technically build a symbol-less DLL of it, but it does not output a corresponding .lib file with it, nor is there any
You probably want to take a look in the Engine\Source\ThirdParty folder, as there's lots of examples there about setting up a ThirdParty library.
Basically though you just create a new module that hosts a pre-compiled library (ModuleType.External), and then set-up the .Build.cs file for that module to include and link to the correct things, before referencing it as a dependency in your plugin .Build.cs file.
Alternatively, since the library says to do this, you can just put its code inside a sub-folder of your plugin source code and include it from there (or add it as an include sub-path using
answered Jan 22 '19 at 02:36 PM
Jamie Dale STAFF
Follow this question
Once you sign in you will be able to subscribe for any updates here