Add support for using cmake in the mono runtime build. (#41316)
authorZoltan Varga <vargaz@gmail.com>
Thu, 27 Aug 2020 14:13:41 +0000 (10:13 -0400)
committerGitHub <noreply@github.com>
Thu, 27 Aug 2020 14:13:41 +0000 (10:13 -0400)
commit1c0b05ff56e6b431ab2385a560b95444a6fbad7f
tree2c1e61fddde14653c928ad52471837027ebe1bca
parent503d5602b01c0e362f1636d55da91ff3b8d909d8
Add support for using cmake in the mono runtime build. (#41316)

* Add support for using cmake in the mono runtime build.

Not enabled by default. Ninja is used for building if available, else we fall
back to make.

* Build and install libmonosgen-2.0.dylib.

* Address review comments.

* Add a few more MONO_EMPTY_SOURCE_FILE defines to silence ranlib warnings on osx.

* Pass -mmacosx-version-min=10.12 on osx.

* Add eventpipe support.

* Quiet the OSX build a bit.

* Address review comments.
src/mono/CMakeLists.txt
src/mono/cmake/QuietOSXRanlib.cmake [new file with mode: 0644]
src/mono/mono.proj
src/mono/mono/metadata/filewatcher.c
src/mono/mono/metadata/w32file.c
src/mono/mono/metadata/w32process-unix-default.c
src/mono/mono/mini/CMakeLists.txt
src/mono/mono/utils/mono-dl-wasm.c
src/mono/mono/utils/mono-threads-wasm.c