summaryrefslogtreecommitdiff
path: root/modules/mono/editor/godotsharp_builds.cpp
AgeCommit message (Collapse)Author
2019-04-25C# bindings generator cleanupIgnacio Etcheverry
- Normal log messages are no longer warnings. - BindingsGenerator is no longer a singleton. - Added a log function.
2019-03-04Mono: Add option to print MSBuild output and improve out of sync errorIgnacio Etcheverry
2019-02-11Default to MSBuild from VS Build Tools instead of Mono'sIgnacio Etcheverry
Don't pass FrameworkPathOverride to MSBuild. It's causing issues with some nuget packages.
2019-02-03Mono: CleanupIgnacio Etcheverry
2019-01-18C#: Fix trying to build when there's no solutionIgnacio Etcheverry
This would cause errors that shouldn't happen unless there was something to build.
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-11-08Improve the C# API projects generationIgnacio Etcheverry
- 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>'
2018-10-25Parse C# script namespace and classIgnacio Etcheverry
- Added a very simple parser that can extract the namespace and class name of a C# script.
2018-10-19Make sure API assemblies are up to date at startupIgnacio Etcheverry
- If there is a solution and C# project at startup, make sure API assemblies are up to date. - Fix prebuilt assemblies only being used when building the game project, and not in other instances.
2018-10-03Mono: Editor and export template dependencies and fixesIgnacio Etcheverry
- Bundle editor dependencies: - 'GodotSharp': Root data directory for the editor - 'Tools': Editor dependencies. Only GodotSharp.dll for now. - 'Api': Prebuilt GodotSharp and GodotSharpEditor API assemblies. - 'Mono': Mono files to bundle with the editor. - 'bin': (Optional, not used for now) Mono bin directory. - 'etc': Mono configuration files. - 'lib': Mono dependency shared libraries. - 'lib/mono/4.5': Framework assemblies. - Added build option to copy the required files from the mono installation to 'GodotSharp/Mono'. Enable with 'copy_mono_root=yes'. Disabled by default. - Export template dependencies: - 'data_AppName'/'data_Godot': - 'Mono': Mono files to bundle with the game. - 'etc': Mono configuration files. - 'lib': Mono dependency shared libraries. - The data directory is generated when compiling and must be bundled with the export templates. In the case of OSX, the data directory must be placed inside the 'osx.zip' export template. - In OSX, alternative location for directories (needed for app bundles) are: - 'data_AppName/Mono/etc' --> '../Resources/GodotSharp/Mono/etc' - 'data_AppName/Mono/lib' --> '../Frameworks/GodotSharp/Mono/lib' - The editor can bundle prebuilt API assemblies. - Generate them with a tools build by running: `--generate-cs-core-api <GodotSharp_OutputDir> --generate-cs-editor-api <GodotSharpEditor_OutputDir> <GodotSharp_OutputDir>/bin/Release/GodotSharp.dll` (This command will be simplified in the future and both projects will be in the same solution) - Build the solutions and copy the output files to '#bin/GodotSharp/Api'. - Fixed API assembly being added twice during the export process.
2018-09-17Mono: Fix opening code editors in OSX and cleanupIgnacio Etcheverry
2018-09-12C#: Fix cs_files glue mismatch bugIgnacio Etcheverry
2018-09-12Add some mono root hint dirs for OSXIgnacio Etcheverry
Fixes #13355
2018-08-24Add print_verbose to print to stdout only in verbose modeRémi Verschelde
Equivalent of the cumbersome: if (OS::get_singleton()->is_stdout_verbose()) print_line(msg);
2018-08-17Mono: Improve C# core files (glue/cs_files) buildsystemIgnacio Etcheverry
- Search C# files recursively in 'glue/cs_files'. - Determine a version for the C# core files automatically. The latest modified time will do for now.
2018-07-10Added path for Mono installed through HomebrewMads Ynddal
On macOS, it is common to install packages like Mono through the third-party package-manager Homebrew. This commit simply adds an additional path to where Homebrew installs the Mono framework.
2018-07-04Mono: Pending exceptions and cleanupIgnacio Etcheverry
2018-06-05Mono: Add 'View log' button to open the MSBuild log of a buildIgnacio Etcheverry
2018-06-05Mono: Fix passing wrong logger assembly path to MSBuildIgnacio Etcheverry
- Add option to print MSBuild's stdout and stderr instead of redirecting it. This can be enabled by setting the environment variable: Godot_DEBUG_MSBUILD=1
2018-05-17fixes build error on Linux after its introduction in #18949Michele Valente
The function expects now a return value. Returning NULL seems to work in this case.
2018-05-17Mono: Project building fixesIgnacio Etcheverry
- Set (Csc/Vbc/Fsc)ToolExe environment variables to point to the batch files in Mono's bin directory when building with Mono's MSBuild. - Set Mono's MSBuild as the default build tool on Windows. - Generate projects with portable DebugType instead of full.
2018-03-27Move GodotSharp and MonoBuildTab member variables to initializer listWilson E. Alvarez
2018-02-25Mono: Better versioning and gracefully unloading of Godot API assembliesIgnacio Etcheverry
2018-02-22Mono: Add project export pluginIgnacio Etcheverry
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-04Mono: Add properties support in scriptsIgnacio Etcheverry
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-01-01Mono: Change BindingsGenerator singleton to avoid StringName leaksIgnacio Etcheverry
2017-12-24Mono: Make the bindings generator output enumsIgnacio Etcheverry
- Switch to PascalCase for constants names
2017-11-10Remove preprocessor directives from macro argumentsMatthias Hoelzl
Preprocessor directives within macro arguments lead to undefined behavior, and VC++ actually rejects them as compiler errors.
2017-11-09Fixed editor settings disappearing.Daniel J. Ramirez
Some items that are no longer defined may disappear, but thats expected i guess.
2017-11-04Added for fallback msbuild.exe.BrainBlasted
Fixes #12613
2017-10-31Fix msbuild hint paths returning only the directoryIgnacio Etcheverry
2017-10-29Merge pull request #12491 from neikeq/waitasecond···Ignacio Etcheverry
Fix FrameworkPathOverride and assemblies path loop
2017-10-29Fix FrameworkPathOverride and assemblies path loopIgnacio Etcheverry
2017-10-29Merge pull request #12475 from neikeq/ohuiiiRémi Verschelde
Fix regression from #12473 and #12388
2017-10-29Merge pull request #12474 from neikeq/sRémi Verschelde
Mono: Add build project button and reload interval
2017-10-29Fix regression from #12473 and #12388Ignacio Etcheverry
2017-10-29Mono: Add build project button and reload intervalIgnacio Etcheverry
2017-10-29Buildsystem improvements for the Mono moduleIgnacio Etcheverry
- Make sure to search the mono installation directory for the right architecture in the windows registry. - Do not build GodotSharpTools directly to #bin dir. Instead build to the default output path and copy it. This way we avoid MSBuild adding files we don't want to #bin. - Add hint path for MSBuild in OSX. - Copy shared library on Unix if not statically linking. - Use vswhere to search MSBuild and search for 14.0 tools version in the registry instead of 4.0. - SCons will only fallback xbuild when msbuild is not found if 'xbuild_fallback=yes' is passed to the command. - Use mono's assembly path as FrameworkPathOverride if using with system's MSBuild (not mono's fork). - Cleanup.
2017-10-24Mono: Fix and cleanup build start errorsIgnacio Etcheverry
2017-10-07Merge pull request #11900 from neikeq/aIgnacio Etcheverry
Fix assembly load hooks and sizeof wrong type
2017-10-07Fix sizeof wrong typeIgnacio Etcheverry
2017-10-07Merge pull request #11896 from neikeq/pr-issue-11892Ignacio Etcheverry
Quote MSBuild arguments
2017-10-07Quote MSBuild arguments. Fixes #11892Ignacio Etcheverry
2017-10-05Fix mono enabled builds (broken by 3d87b70).Ferenc Arn
2017-10-05Add alternative search locations for msbuildIgnacio Etcheverry
2017-10-03Added mono moduleIgnacio Etcheverry