summaryrefslogtreecommitdiffstats
path: root/modules/mono/build_scripts
Commit message (Collapse)AuthorAgeFilesLines
* Fix msbuild target argumentDan Kramer2019-12-291-1/+1
|
* Mono/C#: Re-structure API solution and GodotTools post-build targetIgnacio Etcheverry2019-12-284-149/+28
| | | | | | | | | | | | | | | | | | | | | | Previously we had a placeholder solution called 'Managed' to benefit from tooling while editing the a part of the C# API. Later the bindings generator would create the final 'GodotSharp' solution including these C# files as well as the auto-generated C# API. Now we replaced the 'Managed' solution with the final 'GodotSharp' solution which is no longer auto-generated, and the bindings generator only takes care of the auto-generated C# API. This has the following benefits: - It's less confusing as there will no longer be two versions of the same file (the original and a generated copy of it). Now there's only one. - We no longer need placeholder for auto-generated API classes, like Node or Resource. We used them for benefiting from tooling. Now we can just use the auto-generated API itself. - Simplifies the build system and bindings generator. Removed lot of code that is not needed anymore. Also added a post-build target to the GodotTools project to copy the output to the data dir. This makes it easy to iterate when doing changes to GodotTools, as SCons doesn't have to be executed anymore just to copy these new files.
* Mono: Copy native and btls libs on macOSRémi Verschelde2019-12-181-5/+6
|
* Support Rider as External EditorIvan Shakhov2019-12-111-1/+2
|
* Mono/C#: Several android fixesIgnacio Etcheverry2019-12-042-3/+32
| | | | | | | - Added correct config file for android dllmaps. - Fix __Internal DllImports with a dlopen fallback. - Add missing P/Invoke functions and internal calls expected by the monodroid BCL and our custom version of the 'Android.Runtime.AndroidEnvironment' class (this last one can be found in the godot-mono-builds repo). - Make sure to set 'btls' instead of 'legacy' as the default TLS provider on Android.
* Mono/C#: Add option to export assemblies outside of PCKIgnacio Etcheverry2019-11-291-6/+8
| | | | When using this options, assemblies will be saved in the Assemblies folder of the data directory: 'data_AppName/Assemblies/'.
* Merge pull request #33828 from neikeq/貴様Rémi Verschelde2019-11-232-7/+13
|\ | | | | Mono/C#: Prevent SCons from building API solutions in parallel
| * Mono/C#: Prevent SCons from building API solutions in parallelIgnacio Etcheverry2019-11-222-7/+13
| |
* | Mono/C#: Bundle libmono-btls-shared.dll on Windows if it existsIgnacio Etcheverry2019-11-191-0/+5
|/
* Mono/C#: WebAssembly supportIgnacio Etcheverry2019-11-132-97/+82
|
* Added the server platform checks to template dir and shared lib copyJoshLee09152019-10-211-2/+2
|
* Split the Android platform java logic into an Android library module (`lib`) ↵fhuya2019-09-041-1/+1
| | | | | | and an application module (`app`). The application module `app` serves double duties of providing the prebuilt Godot binaries ('android_debug.apk', 'android_release.apk') and the Godot custom build template ('android_source.zip').
* Fix 'android_mono_config.gen.cpp' not compiled first time it's generatedIgnacio Etcheverry2019-08-261-18/+1
|
* Merge pull request #31347 from neikeq/monodevelop-addinRémi Verschelde2019-08-141-2/+8
|\ | | | | C#: Add Ide Connection library and server for the editor
| * C#: Add Ide Connection library and server for the editorIgnacio Etcheverry2019-08-041-2/+8
| | | | | | | | This will be used for communicating between the Godot editor and external IDEs/editors, for things like opening files, triggering hot-reload and running the game with a debugger attached.
* | Always use lists for `LIBS` in SConsHugo Locurcio2019-08-121-3/+3
|/ | | | This closes #31288.
* Some small fixes to warnings in python scriptsunknown2019-07-111-2/+0
|
* Merge pull request #30489 from neikeq/fix-nullexc-on-gengameprojIgnacio Roldán Etcheverry2019-07-101-1/+5
|\ | | | | Mono: Fix null exception in GenerateGameProject
| * Mono: Fix null exception in GenerateGameProjectIgnacio Etcheverry2019-07-101-1/+5
| | | | | | | | Also fix pdb files for GodotTools.*.dll assemblies not being copied to the output directory.
* | SCons no longer passes FrameworkPathOverride to MSBuildIgnacio Etcheverry2019-07-101-7/+3
|/
* Make SCons check for System MSBuild before Mono'sIgnacio Etcheverry2019-07-091-5/+5
|
* Re-write mono module editor code in C#Ignacio Etcheverry2019-07-054-119/+224
| | | | | | | | Make the build system automatically build the C# Api assemblies to be shipped with the editor. Make the editor, editor player and debug export templates use Api assemblies built with debug symbols. Always run MSBuild to build the editor tools and Api assemblies when building Godot. Several bugs fixed related to assembly hot reloading and restoring state. Fix StringExtensions internal calls not being registered correctly, resulting in MissingMethodException.
* Merge pull request #30292 from neikeq/android_fixesRémi Verschelde2019-07-033-15/+96
|\ | | | | Mono: Android build and shared libraries fixes
| * Mono: Android build and shared libraries fixesIgnacio Etcheverry2019-07-033-15/+96
| | | | | | | | | | Fix location of Mono's shared libraries. Fix build failing if the directory 'platform/android/java/libs/{target}/{abi}' doesn't exist.
* | SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde2019-07-031-2/+2
|/ | | | | | | | It's the recommended way to set those, and is more portable (automatically prepends -D for GCC/Clang and /D for MSVC). We still use CPPFLAGS for some pre-processor flags which are not defines.
* Merge pull request #29606 from neikeq/remove-unneeded-mono-patchesIgnacio Roldán Etcheverry2019-06-081-13/+0
|\ | | | | Remove obsolete mono patch for pthread_mutexattr_setprotocol
| * Remove obsolete mono patch for pthread_mutexattr_setprotocolIgnacio Etcheverry2019-06-081-13/+0
| | | | | | | | This has already been fixed in Mono both master and 2019-06 (no other branch other than the skipped 2019-04 branch uses pthread_mutexattr_setprotocol).
* | Mono: Fix SCons options added to the wrong environmentIgnacio Etcheverry2019-06-041-8/+0
|/
* Android build and export for the mono moduleIgnacio Etcheverry2019-06-034-76/+173
|
* SCons: Always use env.Prepend for CPPPATHRémi Verschelde2019-04-301-2/+2
| | | | | | Include paths are processed from left to right, so we use Prepend to ensure that paths to bundled thirdparty files will have precedence over system paths (e.g. `/usr/include` should have lowest priority).
* Mono: Add compiler flags to env_mono instead of envIgnacio Etcheverry2019-04-071-8/+9
| | | | This way we avoid possible conflicts with other modules. Specially with include paths.
* Mono: Reorganize build scriptsIgnacio Etcheverry2019-04-076-0/+893
All build scripts, other than config.py and SCSub, are now located in the build_scripts subdirectory.