edk2/UnitTestFrameworkPkg/Library/GoogleTestLib/GoogleTestLib.inf
Michael D Kinney 07da104cfb UnitTestFrameworkPkg/GoogleTestLib: Remove extra options
Update MSFT CC_FLAGS options to remove /EHs and /MTd that
are added by  UnitTestFrameworkPkgHost.dsc.inc for all
components.

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2025-09-28 23:38:21 +00:00

33 lines
971 B
INI

## @file
# This module provides GoogleTest Library implementation.
#
# Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
[Defines]
INF_VERSION = 0x00010018
BASE_NAME = GoogleTestLib
MODULE_UNI_FILE = GoogleTestLib.uni
FILE_GUID = A90E4751-AD30-43CC-980B-01E356B49ADF
MODULE_TYPE = HOST_APPLICATION
VERSION_STRING = 0.1
LIBRARY_CLASS = GoogleTestLib
#
# VALID_ARCHITECTURES = IA32 X64
#
[Sources]
googletest/googletest/src/gtest-all.cc
googletest/googlemock/src/gmock-all.cc
[Packages]
MdePkg/MdePkg.dec
UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec
[BuildOptions]
MSFT:*_*_*_CC_FLAGS == /c /Zi /Od
GCC:*_*_IA32_CC_FLAGS == -g -c -fshort-wchar -fexceptions -O0 -m32 -malign-double -fno-pie
GCC:*_*_X64_CC_FLAGS == -g -c -fshort-wchar -fexceptions -O0 -m64 -fno-pie "-DEFIAPI=__attribute__((ms_abi))"