BaseTools: Add build option for dependency file generation
authorBob Feng <bob.c.feng@intel.com>
Mon, 2 Dec 2019 08:24:19 +0000 (16:24 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Dec 2019 01:31:55 +0000 (01:31 +0000)
commit13c5e34a1b8bfedbd10ea038cfcbae5caeab6652
treec8f5cd7ef5d98510f0fde9a9d36ccae3e54c6eae
parent804666c86e7b6f04fe5c5cfdb13199c19e0e99b0
BaseTools: Add build option for dependency file generation

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2311

Add /showIncludes for msvc and -MMD -MF $@.deps
for GCC and CLANG

Remove /MP for msvc since /MP does not work with
/showIncludes

Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Steven Shi <steven.shi@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Conf/tools_def.template