Use C++ classes from an external directory

I want to use some c++ function library classes on multiple projects, so i want to have them on a shared common external directory outside of my project. But how to include them in the build?

I’ve tried adding PublicIncludePaths.Add("… to my build.cs file but it doesnt seem to help?

Any solutions to this that does not require me to set up a symbolic link?

Noone? :slight_smile:

UE4 is modular so you can make module with common code and reuse it elsewhere. Plugins let you reuse modules in multiple projects. Simply make a plugin.

Still no solution for this?

Thanks, thats a good way of reusing premade functionallity! :slight_smile:

But its not really what im looking for, i want to add an external source path to the c++ build …