mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Project Generator File Copy
Project Generator may now automatically copy files needed for a module into the project's directory. Use the new copyFileToProject() function in the module .inc file. The following modules have been set up for this: - FMod - Leap Motion - PhysX - Razer Hydra These modules have been set up to copy both release and debug files as appropriate. When releasing your game you'll likely want to not include any debug files.
This commit is contained in:
parent
2dcc7f0247
commit
262ddb1a27
7 changed files with 78 additions and 0 deletions
|
|
@ -64,6 +64,10 @@ beginModule( 'fmod' );
|
|||
{
|
||||
addIncludePath( $FMOD_SDK_PATH . "/api/inc" );
|
||||
addIncludePath( $FMOD_SDK_PATH . "/fmoddesignerapi/api/inc" );
|
||||
|
||||
// File Copy
|
||||
copyFileToProject( $FMOD_SDK_PATH . "/api/fmodex.dll", "/game/fmodex.dll" );
|
||||
copyFileToProject( $FMOD_SDK_PATH . "/fmoddesignerapi/api/fmod_event.dll", "/game/fmod_event.dll" );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue