Generate version.cpp if it doesn't already exist.
authorEric Erhardt <eric.erhardt@microsoft.com>
Tue, 20 Feb 2018 18:45:22 +0000 (12:45 -0600)
committerEric Erhardt <eric.erhardt@microsoft.com>
Tue, 20 Feb 2018 23:46:09 +0000 (17:46 -0600)
commitfd79a004e36075aec362c2e7e5438e157b68cd60
tree0e510bd9598f646cfe09d2635874a5fe13ef4c5d
parent3da6b89dab8eea8190c1e8e4ffc27b3acda7216c
Generate version.cpp if it doesn't already exist.

This is necessary when bootstrapping a new RID, and we can't run MSBuild to generate the version.cpp file.

Commit migrated from https://github.com/dotnet/core-setup/commit/83f55767876e52aba1372b94fee5f0faf9308aca
src/installer/corehost/CMakeLists.txt
src/installer/corehost/build.sh