What is the recommended way to add new files to a plugin?
Important fact: I'm using Xcode 8.1 on OSX Sierra 10.12.1.
I'm building an editor plugin intended for game developers, and I've discovered the niceness of using the in-editor tools to create and add new files to projects. HOWEVER, there doesn't seem to be a way to add new C++ files to a plugin from within the editor.
Xcode doesn't really like manually adding files to projects as far as I can tell, given that the files are neither correctly formatted nor recognized by the build system (red file name in the project navigator), and I've had difficulty getting files to show up correctly using GenerateProjectFiles.sh.
I saw a post by one of the staff that mentioned manual adding of files in a way that made me wonder if there isn't a better option. Is manual adding + project regeneration the recommended solution for this scenario? Or is there something I'm missing?
asked Nov 04 '16 at 12:47 PM in C++ Programming
Apparently the most reliable way is using the Add New->New C++ Class from the Content Browser, as long as you have a plugin that's properly set up and shows up as a target in the target module dropdown. Good to know.
answered Nov 05 '16 at 12:40 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here