My plugin contains uobject c++ code,
I package my plugin into a folder for distribution.
Then I create a project, delete the precompiled plugin’s cpp files, keep header files,
copy plugin into “Plugins” folder. compile my project, I found that : the plugin was recompiled,
and got error:
LINK : fatal error LNK1181: cannot open input file ‘C:\Users\X\UE4\CppBPPluginLibTest\Plugins\BinaryDemoPlugin\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-BinaryDemoPlugin-1641.lib’
How can I prevent UBT recompile the precompiled plugin, and in my project,
I just wan to use the precompiled plugin’s lib files and C++ Header files, remove the cpp files.
I found the built-in plugin: Engine\Plugins\Runtime\RuntimePhysXCooking
It was precompiled, but doesn’t contain any uobject class.
Thank you in advance.