Hi, There isn't really any documentation on this, best would be to copy what is done for a library like extern/ceres or Python module like numpy that we bundle. So far we have not bundled extra Python modules with Blender in exactly this way though, so there is no identical example.
I think you would start by coping that google-draco-exporter folder to extern/draco. Then add a WITH_DRACO option and if that's enabled add that subdirectory in extern/CMakeListsts.txt. Installing the Python module to the right directory would be done in source/creator/CMakeLists.txt. Regards, Brecht. On Tue, Feb 26, 2019 at 5:47 PM Benjamin Schmithüsen <[email protected]> wrote: > Hi Brecht, > > is there any documentation available on how to correctly setup a new > project in the extern/ folder so it can be included by Blender and > exposed through bpy? > > Best regards > Benjamin > > _______________________________________________ > Bf-committers mailing list > [email protected] > https://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-committers
