![]() |
GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
Copy all resources files of a project to a directory. More...
#include <ProjectResourcesCopier.h>
Static Public Member Functions | |
| static bool | CopyAllResourcesTo (gd::Project &project, gd::AbstractFileSystem &fs, gd::String destinationDirectory, bool updateOriginalProject, bool preserveAbsoluteFilenames=true, bool preserveDirectoryStructure=true) |
Copy all resources files of a project to the specified destinationDirectory. More... | |
Copy all resources files of a project to a directory.
|
static |
Copy all resources files of a project to the specified destinationDirectory.
| project | The project to be used |
| fs | The abstract file system to be used |
| destinationDirectory | The directory where resources must be copied to |
| updateOriginalProject | If set to true, the project will be updated with the new resources filenames. |
| preserveAbsoluteFilenames | If set to true (default), resources with absolute filenames won't be changed. Otherwise, resources with absolute filenames will be copied into the destination directory and their filenames updated. |
| preserveDirectoryStructure | If set to true (default), the directories of the resources will be preserved when copying. Otherwise, everything will be send in the destinationDirectory. |