Fix incremental build of mscordaccore (dotnet/coreclr#9982)
authorJan Vorlicek <janvorli@microsoft.com>
Tue, 7 Mar 2017 21:41:22 +0000 (22:41 +0100)
committerGitHub <noreply@github.com>
Tue, 7 Mar 2017 21:41:22 +0000 (22:41 +0100)
commitded9711b547c2a6dd4cc73131ecf035613be5cae
tree61521cd9dcd3a0a6f9fa223695159f8be6863b2b
parentac5419537751f364774b155c9439dea54b8963b2
Fix incremental build of mscordaccore (dotnet/coreclr#9982)

* Fix incremental build of mscordaccore

This change sets up proper dependency for the mscordaccore build and stops
using PRE_LINK command which is executed always.
The way it solves the problem is that it creates an object library from the
mscordac.cpp and then lets the mscordaccore.exp be generated from that object
and finally use both that object library and the mscordaccore.exp while building
mscordaccore.

Commit migrated from https://github.com/dotnet/coreclr/commit/be4ab599db716c105956befffc39a303682ad801
src/coreclr/src/dlls/mscordac/CMakeLists.txt