Pass crossbuild and linux-id to CMakeLists.txt using CMake arguments (dotnet/coreclr...
authorHyeongseok Oh <hseok82.oh@samsung.com>
Tue, 4 Apr 2017 12:07:09 +0000 (21:07 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 4 Apr 2017 12:07:09 +0000 (14:07 +0200)
commit427acac9b494c69fcfdb1d486db3b468ed1d953d
treec4bdb4df9c3ca90e83ba778b5e45f7b50947d98a
parent9a0fb811efeb9b75d394312fa2227ec04f288b76
Pass crossbuild and linux-id to CMakeLists.txt using CMake arguments (dotnet/coreclr#10686)

Remove in CMakeLists.txt
1) read cross-build from environment variable
2) read linux-id from file system
Instead, pass cross-build and linux-id from gen-buildsys-clang.sh using cmake arguments

Commit migrated from https://github.com/dotnet/coreclr/commit/dfce3af2ee5967ae53c7b47135f150f59452ded3
src/coreclr/CMakeLists.txt
src/coreclr/src/pal/tools/gen-buildsys-clang.sh