diff options
| author | Michael D Kinney <michael.d.kinney@intel.com> | 2024-02-03 04:04:33 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-14 05:37:16 +0300 |
| commit | 46c6de57b0628567ed3e72a7c65d1e6c708312cc (patch) | |
| tree | 70aa08ef9ccf68348477a32d49c42cf319912aeb /UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLibHost.cpp | |
| parent | ded41a64bd5c6bc40283bf5bd07b18bae5cbcd09 (diff) | |
| download | edk2-46c6de57b0628567ed3e72a7c65d1e6c708312cc.tar.xz | |
UnitTestFrameworkPkg: MSFT CC_FLAGS add /MT to for host builds
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4683
Add /MT to MSFT CC_FLAGS to always use release libraries
when building host-based unit tests so any exceptions
generated during host-based test execution generate an
error message in stderr instead of a popup window.
Use /MTd when -D UNIT_TESTING_DEBUG is to use debug
libraries when building host-based unit tests so any
exceptions generated during host-based test execution
generate a popup window with option to attach a debugger.
Cc: Michael Kubacki <mikuback@linux.microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Michael Kubacki <michael.kubacki@microsoft.com>
Diffstat (limited to 'UnitTestFrameworkPkg/Library/UnitTestDebugAssertLib/UnitTestDebugAssertLibHost.cpp')
0 files changed, 0 insertions, 0 deletions
