diff options
author | Filip Navara <filip.navara@gmail.com> | 2019-05-10 11:26:44 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2019-05-10 11:26:44 +0300 |
commit | 643b2ebfc6ad8a7cb2c21d3cac1a89ca3ceb3c9f (patch) | |
tree | 3961493adfb63fbb45aa217a7d2889249165fda4 /msvc/mono.winconfig.targets | |
parent | 0e5e464cff103f104bee6beb22461ea7332fe102 (diff) |
[netcore] Enable MSVC builds of Mono w/ ENABLE_NETCORE (#14418)
* Enable MSVC builds of Mono w/ ENABLE_NETCORE
* Fix non-netcore build
* Move the ENABLE_NETCORE definition to config.h where it belongs
* Replace .def with linker #pragmas
* TARGET_WIN32 -> HOST_WIN32 && HOST_X86
* Pick up MONO_ENABLE_NETCORE from cygconfig.h
* Make `./configure --with-core=only` MSVC builds working
* Include netcore sources unconditionally, move the condition into the .c file
* Fix MSVC C++ netcore build on Win32
Diffstat (limited to 'msvc/mono.winconfig.targets')
-rw-r--r-- | msvc/mono.winconfig.targets | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/msvc/mono.winconfig.targets b/msvc/mono.winconfig.targets index d5f7fdc0c9f..6eba1cf3842 100644 --- a/msvc/mono.winconfig.targets +++ b/msvc/mono.winconfig.targets @@ -109,7 +109,8 @@ "ENABLE_LLVM", "ENABLE_LLVM_RUNTIME", "ENABLE_HYBRID_SUSPEND", - "ENABLE_COOP_SUSPEND" }; + "ENABLE_COOP_SUSPEND", + "ENABLE_NETCORE" }; var enableFeatures = GetConfigFeatures(path, ".*#define.*ENABLE_.*1"); if (enableDefines != null) |