Refactor CMake system to allow cross OS DAC compile (#2054)
authorSteve MacLean <Steve.MacLean@microsoft.com>
Fri, 24 Jan 2020 22:09:26 +0000 (17:09 -0500)
committerGitHub <noreply@github.com>
Fri, 24 Jan 2020 22:09:26 +0000 (17:09 -0500)
commita0cb673c96c1a831536ae0bcc1ebc0a2afe45830
tree1b47dfae1aa9089097ab0764a5f5fef2893ebcbd
parent9c130e4863dab0512713e27a8ee44f303af44ebf
Refactor CMake system to allow cross OS DAC compile (#2054)

* Refactor CMake system to allow cross OS DAC compile

Add CLR_CMAKE_HOST_OS

Add rules to determine which cross OS combinations are valid

Make add_definitions depend on TARGET OS properties. Wherever reasonable
make C++ defines depend on runtime target rather than host.
eng/native/configureplatform.cmake
src/coreclr/clrdefinitions.cmake
src/coreclr/clrfeatures.cmake
src/coreclr/configurecompiler.cmake
src/coreclr/crosscomponents.cmake
src/coreclr/src/utilcode/CMakeLists.txt
src/coreclr/src/vm/CMakeLists.txt