Skip to content

ProjectGenerator add-on libs pathing issue and src subfolders not linked correctly  #515

Description

@danoli3

For Addon libs:
Screenshot 2024-06-05 at 2 08 09 am

Where it should look like this:
Screenshot 2024-06-05 at 3 10 35 am

had a Quick Look looks related to the paths not being correct

                    if (folder.begin()->string() == "addons") {
                        addCommand("Add :objects:"+thisUUID+":sourceTree string <group>");
                        fs::path addonFolder { fs::path(fullPath).filename() };
                        addCommand("Add :objects:"+thisUUID+":path string " + ofPathToString(addonFolder));
                        // alert ("group " + folder.string() + " : " + base.string() + " : " + addonFolder.string(), 32);
                    } else {
                        addCommand("Add :objects:"+thisUUID+":sourceTree string SOURCE_ROOT");
                    }


I re-added this to xcframeworks and now it works

Also if you run the projectGenerator against the projectGenerator (inception)
It fails to link or add the other src folders in the same directory

Screenshot 2024-06-05 at 11 22 45 am

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions