I'm incorporating some external libraries into my build and so I have a custom hierarchy built up. I've been able to figure out on my own how access my projects in a solution i.e:
But I cannot figure out how to use my custom common api. Assuming I've given it the ModuleID com.company.common.framework and placing it in my-custom-folder I've tried adding it a few different way to a projectdefinition.txt
The ones where I specify plugins/ get close, the project gets generated but the reference can't be found, and it doesn't pop up in my solution's framework list. The framework folder itself is called plugins/my-custom-folder/common.framework. Maybe it needs to be com.company.common.framework after the ModuleID defined in the projectdefintion.txt. I also noticed the C4D frameworks don't even use the ModuleID field.
Hi As Kent stated if it's a Cinema 4d frameworks you should put it in the framework directory.
This way it will be accessible with APIS=common.framework in your projectdefinition.txt
For more information, take a look at the Custom Framework Manuel.
If you have any questions, please let me know.
As far as I am aware all frameworks need to be in the frameworks directory, ie the same one the C4D frameworks are located in. That is where I place all my frameworks and it works fine. I have already requested an addition to the project tool to let us set our own additional framework folder. Hopefully sometime we will see it added.