Improve the C# API projects generation
- Now there is only one solution that contains both GodotSharp and GodotSharpEditor project. Previously we had one solution for each project - GodotSharpEditor reference GodotShatp with a 'ProjectReference'. Previously it was a 'Reference' to the assembly - This also simplifies the command line option to generate this solution: 'godot --generate-cs-api <OutputDir>'
This commit is contained in:
parent
2cf02f302f
commit
02d5ff4cd0
15 changed files with 238 additions and 208 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#define BINDINGS_GENERATOR_H
|
||||
|
||||
#include "core/class_db.h"
|
||||
#include "dotnet_solution.h"
|
||||
#include "editor/doc/doc_data.h"
|
||||
#include "editor/editor_help.h"
|
||||
|
||||
|
|
@ -556,8 +557,9 @@ class BindingsGenerator {
|
|||
static BindingsGenerator *singleton;
|
||||
|
||||
public:
|
||||
Error generate_cs_core_project(const String &p_output_dir, bool p_verbose_output = true);
|
||||
Error generate_cs_editor_project(const String &p_output_dir, const String &p_core_dll_path, bool p_verbose_output = true);
|
||||
Error generate_cs_core_project(const String &p_solution_dir, DotNetSolution &r_solution, bool p_verbose_output = true);
|
||||
Error generate_cs_editor_project(const String &p_solution_dir, DotNetSolution &r_solution, bool p_verbose_output = true);
|
||||
Error generate_cs_api(const String &p_output_dir, bool p_verbose_output = true);
|
||||
Error generate_glue(const String &p_output_dir);
|
||||
|
||||
static uint32_t get_version();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue