MCPcopy Index your code
hub / github.com/nodejs/node / GetCflagsObjCC

Method GetCflagsObjCC

tools/gyp/pylib/gyp/xcode_emulation.py:777–787  ·  view source on GitHub ↗

Returns flags that need to be added to .mm compilations.

(self, configname)

Source from the content-addressed store, hash-verified

775 return cflags_objc
776
777 def GetCflagsObjCC(self, configname):
778 """Returns flags that need to be added to .mm compilations."""
779 self.configname = configname
780 cflags_objcc = []
781 self._AddObjectiveCGarbageCollectionFlags(cflags_objcc)
782 self._AddObjectiveCARCFlags(cflags_objcc)
783 self._AddObjectiveCMissingPropertySynthesisFlags(cflags_objcc)
784 if self._Test("GCC_OBJC_CALL_CXX_CDTORS", "YES", default="NO"):
785 cflags_objcc.append("-fobjc-call-cxx-cdtors")
786 self.configname = None
787 return cflags_objcc
788
789 def GetInstallNameBase(self):
790 """Return DYLIB_INSTALL_NAME_BASE for this target."""

Callers 2

WriteSourcesMethod · 0.80
WriteSourcesForArchMethod · 0.80

Calls 5

_TestMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected