adding projects to min-devkit

volker böhm's icon

hi
I'm trying out the min-devkit to explore developing max externals in C++.
How can I add new objects to the package WITHOUT having to regenerate all project files?

I have read this: https://github.com/Cycling74/min-devkit/blob/master/HowTo-NewObject.md#how-to-add-a-new-object-to-this-package
but the 3rd step involves regenerating all projects, which destroys the structure and setup of the projects that I've already been working on.

There must be a different way to add new objects, which is a little less radical.
Anybody knows how to achieve that?


Timothy Place's icon

Hi!

This is the way CMake works. The Xcode and/or Visual Studio projects are not the master documents. If there is any structure/setup that needs to be a part of the project then it needs to be done in the cmakelists.txt file from which those IDE projects are generated.

Hope this helps!

volker böhm's icon

Hello Tim,
yes, thanks, figured that out in the meantime.
I'm not very fluent with cmake and have the structure setup in xcode already.
Is there a way to 'extract' this information from an xcode project, let's say into a textfile?
Looks like I need to dive a little deeper into cmake...

Timothy Place's icon

That's a good question about the possible extraction. I haven't researched that at all. Please let us know if you find something you like!