How share and use same C++ code between multiple, not related to each other, projects?
What I mean by that is a way to make a code behave like a static library, like in “default” C++, so it could be possible to
#include "CoreMinimal.h"
#include "path/to/MyCustomLibrary.h"
UCLASS()
and so on
AFAIK, there are no way to actually compile UE related code into simple library and then just copypaste it to different projects and use #include. So how do it with “dummy” project?
Or its impossible and the only way is to create new UE class in new project and copypaste whole code directly into it from other project?