Cleanup native build (dotnet/core-setup#5228)
authorVitek Karas <vitek.karas@microsoft.com>
Thu, 21 Feb 2019 21:29:34 +0000 (13:29 -0800)
committerGitHub <noreply@github.com>
Thu, 21 Feb 2019 21:29:34 +0000 (13:29 -0800)
commitc2521851a0384a5f15f8cf31cac8862ccfd91f14
tree5591d2f288f3008b9639a2ab18284b86924ea796
parent5fbe7b12aed541bd70f663325866a7e6435d254a
Cleanup native build (dotnet/core-setup#5228)

Refactor cmake files to avoid code duplication.
Fix comhost to have native resources on Windows - that is version and other properties.
Turn on parallel build on Windows - on my machine the native build took 125 second before and 40 after this change.

Commit migrated from https://github.com/dotnet/core-setup/commit/758461c8933699dca0cb5f8e4fa712ab35d1d277
src/installer/corehost/build.cmd
src/installer/corehost/build.proj
src/installer/corehost/cli/apphost/CMakeLists.txt
src/installer/corehost/cli/comhost/CMakeLists.txt
src/installer/corehost/cli/common.cmake [new file with mode: 0644]
src/installer/corehost/cli/dotnet/CMakeLists.txt
src/installer/corehost/cli/exe.cmake
src/installer/corehost/cli/fxr/CMakeLists.txt
src/installer/corehost/cli/hostpolicy/CMakeLists.txt
src/installer/corehost/cli/lib.cmake [new file with mode: 0644]