Single Compilation Unit build.

Adds support for simple SCU build.
This speeds up compilation by compiling multiple cpp files within a single translation unit.
This commit is contained in:
lawnjelly 2022-11-27 08:34:07 +00:00
parent 29eeb461f2
commit 43e181a00a
35 changed files with 542 additions and 130 deletions

View file

@ -1060,4 +1060,10 @@ public:
void register_visual_script_nodes();
void unregister_visual_script_nodes();
#ifdef TOOLS_ENABLED
namespace NSVisualScript {
Node *_find_script_node(Node *p_edited_scene, Node *p_current_node, const Ref<Script> &script);
}
#endif
#endif // VISUAL_SCRIPT_NODES_H