Custom framework locations
eldiren last edited by
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:
/plugins/my-custom-folder/plugin1 /plugins/my-custom-folder/plugin2 /plugins/my-custom-folder/plugin3
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
1. APIS=plugins/my-custom-folder/common.framework 2. APIS=common.framework 3. APIS=plugins/my-custom-folder/com.company.common.framework 4. APIS=com.company.common.framework
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.
kbar last edited by
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.
m_adam last edited by
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.