Skip to content

Suggestion: Ensure file paths are correct/files exist #1105

@Cyruz143

Description

@Cyruz143

cfgVehicles.hpp:

class CfgVehicles {
    class my_base_class;
    class my_new_class: my_base_class {
        hiddenSelectionsTextures[]= {
            QPATHTOF(badFolderName\tex1.paa),
            QPATHTOF(thisIsATypo\tex2.paa)
        };
    };

folder structure:

addons/myAddon/cfgVehicles.hpp
addons/myAddon/textures/tex1.paa
addons/myAddon/textures/tex2.paa

Hemtt will build the above currently, is it possible for hemtt to check the path of the macro resolves to an actual file, i.e. does addons/myAddon/textures exist as a folder and does said folder have files named tex1/tex2 in there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions