Collects headers, libraries, DLLs, and resources from source and output directories and assembles them into an API distribution folder.
More...
|
| bool | createAPIDirectory (const File &api_dir, bool override_existing, LogPtr log) |
| | Writes all collected resources to the target API directory.
|
| bool | grabFromOutput (const File &output_directory, bool include_libs, LogPtr log) |
| | Collects DLLs and optionally libraries from the build output directory.
|
| bool | grabFromQT (const File &qt_directory, LogPtr log) |
| | Collects required Qt runtime files.
|
| bool | grabFromSource (const File &source_directory, bool grab_headers, LogPtr log) |
| | Collects headers and resources from the source directory.
|
| bool | grabODA (const File &source_directory, bool output_to_api, LogPtr log) |
| | Collects ODA (Open Design Alliance) dependencies.
|
| bool | grabRCC (const File &output_directory, bool output_to_api, LogPtr log) |
| | Collects RCC (Qt Resource Compiler) outputs.
|
| bool | grabVLC (const File &source_directory, bool output_to_api, LogPtr log) |
| | Collects VLC dependencies.
|
Collects headers, libraries, DLLs, and resources from source and output directories and assembles them into an API distribution folder.
Definition at line 15 of file APIDirectoryManager.h.
◆ createAPIDirectory()
| bool APIDirectoryManager::createAPIDirectory |
( |
const File & | api_dir, |
|
|
bool | override_existing, |
|
|
LogPtr | log ) |
Writes all collected resources to the target API directory.
- Parameters
-
| [in] | api_dir | The destination API directory. |
| [in] | override_existing | Whether to overwrite existing files. |
| [in] | log | Log for status messages. |
- Returns
- True on success.
◆ FindFile()
Locates a file by name within a directory, using the given extension filter.
- Parameters
-
| [in] | resource | The resource name to search for. |
| [in] | directory | The directory to search in. |
| [in] | extension | The file extension to match. |
- Returns
- The located File, or an invalid File if not found.
◆ GetAPIProjects()
Returns the list of module project names that belong to the API.
- Parameters
-
| [in] | headers | Whether to return header-only projects. |
- Returns
- A buffer of project name views.
References headers.
◆ GetOutputDirResources()
| Buffer< String > APIDirectoryManager::GetOutputDirResources |
( |
bool | debug | ) |
|
|
static |
Returns the list of output directory resource file names.
- Parameters
-
| [in] | debug | Whether to return debug or release resources. |
- Returns
- A buffer of resource file name strings.
◆ GetQTResources() [1/2]
Returns the list of Qt resource names (view version).
- Returns
- A buffer of Qt resource name views.
◆ GetQTResources() [2/2]
| Buffer< String > APIDirectoryManager::GetQTResources |
( |
bool | debug | ) |
|
|
static |
Returns the list of Qt resource file names for a given configuration.
- Parameters
-
| [in] | debug | Whether to return debug or release Qt resources. |
- Returns
- A buffer of Qt resource file name strings.
◆ GetSourceResources()
Returns the list of source resource names to include in the API.
- Returns
- A buffer of resource name views.
◆ grabFromOutput()
| bool APIDirectoryManager::grabFromOutput |
( |
const File & | output_directory, |
|
|
bool | include_libs, |
|
|
LogPtr | log ) |
Collects DLLs and optionally libraries from the build output directory.
- Parameters
-
| [in] | output_directory | The root output directory. |
| [in] | include_libs | Whether to include .lib files alongside DLLs. |
| [in] | log | Log for status messages. |
- Returns
- True on success.
◆ grabFromQT()
| bool APIDirectoryManager::grabFromQT |
( |
const File & | qt_directory, |
|
|
LogPtr | log ) |
Collects required Qt runtime files.
- Parameters
-
| [in] | qt_directory | The Qt installation directory. |
| [in] | log | Log for status messages. |
- Returns
- True on success.
◆ grabFromSource()
| bool APIDirectoryManager::grabFromSource |
( |
const File & | source_directory, |
|
|
bool | grab_headers, |
|
|
LogPtr | log ) |
Collects headers and resources from the source directory.
- Parameters
-
| [in] | source_directory | The root source directory. |
| [in] | grab_headers | Whether to collect header files. |
| [in] | log | Log for status messages. |
- Returns
- True on success.
◆ grabODA()
| bool APIDirectoryManager::grabODA |
( |
const File & | source_directory, |
|
|
bool | output_to_api, |
|
|
LogPtr | log ) |
Collects ODA (Open Design Alliance) dependencies.
- Parameters
-
| [in] | source_directory | The directory containing ODA files. |
| [in] | output_to_api | Whether to output to the API directory structure. |
| [in] | log | Log for status messages. |
- Returns
- True on success.
◆ grabRCC()
| bool APIDirectoryManager::grabRCC |
( |
const File & | output_directory, |
|
|
bool | output_to_api, |
|
|
LogPtr | log ) |
Collects RCC (Qt Resource Compiler) outputs.
- Parameters
-
| [in] | output_directory | The directory containing RCC files. |
| [in] | output_to_api | Whether to output to the API directory structure. |
| [in] | log | Log for status messages. |
- Returns
- True on success.
◆ grabVLC()
| bool APIDirectoryManager::grabVLC |
( |
const File & | source_directory, |
|
|
bool | output_to_api, |
|
|
LogPtr | log ) |
Collects VLC dependencies.
- Parameters
-
| [in] | source_directory | The directory containing VLC files. |
| [in] | output_to_api | Whether to output to the API directory structure. |
| [in] | log | Log for status messages. |
- Returns
- True on success.
The documentation for this class was generated from the following file: