sideeffects / HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.
http://www.sidefx.com/unreal
Other
1.36k stars 374 forks source link

Add option to disable Houdini Engine prints during build #122

Open moppius opened 4 years ago

moppius commented 4 years ago

When building UE4 with the Houdini Engine plugin on cloud build machines, we will never have Houdini installed, and so the message about Houdini not being installed are expected, and become noise in the log.

It would be nice to either remove the messages completely during build time (since you can still build the plugin without Houdini installed), or alternately add a flag to suppress these messages at build time.

Example of build messages:

1>Houdini Engine : Looking for Houdini Engine 18.0.343 in C:/Program Files/Side Effects Software/Houdini Engine 18.0.343
1>Houdini Engine : Looking for Houdini 18.0.343 in C:/Program Files/Side Effects Software/Houdini 18.0.343
1>Houdini Engine : Failed to find Houdini 18.0.343, will attempt to build using the latest installed version
1>Houdini Engine : Please install Houdini or Houdini Engine 18.0.343
1>Couldn't find the HAPI include folder!
1>Houdini Engine : Please install Houdini or Houdini Engine 18.0.343
1>Couldnt find the HAPI include folder!
1>Houdini Engine : Looking for Houdini Engine 18.0.343 in C:/Program Files/Side Effects Software/Houdini Engine 18.0.343
1>Houdini Engine : Looking for Houdini 18.0.343 in C:/Program Files/Side Effects Software/Houdini 18.0.343
1>Houdini Engine : Failed to find Houdini 18.0.343, will attempt to build using the latest installed version
1>Houdini Engine : Please install Houdini or Houdini Engine 18.0.343
1>Couldn't find the HAPI include folder!
1>Houdini Engine : Please install Houdini or Houdini Engine 18.0.343
1>Couldnt find the HAPI include folder!

It almost seems like this is legacy stuff, since the HoudiniApi.h seems to contain everything that is needed to build, so maybe all those checks for installed Houdini paths at build time can even be removed?