godot-cpp icon indicating copy to clipboard operation
godot-cpp copied to clipboard

Include a .gdignore

Open Zylann opened this issue 3 years ago • 2 comments

When godot-cpp is added as a submodule in a Godot project, Godot will wrongly try to import .obj compilation files and lock for a very long time because of it.

The solution is usually to add a .gdignore to prevent Godot from importing anything in there, but it's not possible for such integration to add that file because the submodule then becomes altered. It is also inconvenient to put the .gdignore in the parent folder because it will also ignore things there that might need to be considered by Godot. In my project this makes my .gdns and .gdnlib unreachable in the editor.

So I think it would help to have a .gdignore already present in godot-cpp.

Zylann avatar Feb 27 '21 00:02 Zylann

An alternative solution is to store the godot-cpp submodule/folder outside of the Godot project, like in the current master of the GDNative demo projects. But yes, adding a .gdignore is a good idea.

aaronfranke avatar Jul 12 '21 04:07 aaronfranke

Kind of similar to godotengine/godot#28343 (same problem with obj files)...

Xrayez avatar Aug 31 '21 22:08 Xrayez

I don't mean to be rude, but why is it taking nearly two years to add a single blank file to the repo?

furrykef avatar Nov 16 '22 07:11 furrykef

I don't mean to be rude, but why is it taking nearly two years to add a single blank file to the repo?

Feel free to open a pull request for this 🙂

Calinou avatar Nov 16 '22 16:11 Calinou