MCPcopy Create free account
hub / github.com/nodejs/node / _GetIncludeDirs

Function _GetIncludeDirs

tools/gyp/pylib/gyp/generator/msvs.py:1249–1270  ·  view source on GitHub ↗

Returns the list of directories to be used for #include directives. Arguments: config: The dictionary that defines the special processing to be done for this configuration. Returns: The list of directory paths.

(config)

Source from the content-addressed store, hash-verified

1247
1248
1249def _GetIncludeDirs(config):
1250 """Returns the list of directories to be used for #include directives.
1251
1252 Arguments:
1253 config: The dictionary that defines the special processing to be done
1254 for this configuration.
1255 Returns:
1256 The list of directory paths.
1257 """
1258 # TODO(bradnelson): include_dirs should really be flexible enough not to
1259 # require this sort of thing.
1260 include_dirs = config.get("include_dirs", []) + config.get(
1261 "msvs_system_include_dirs", []
1262 )
1263 midl_include_dirs = config.get("midl_include_dirs", []) + config.get(
1264 "msvs_system_include_dirs", []
1265 )
1266 resource_include_dirs = config.get("resource_include_dirs", include_dirs)
1267 include_dirs = _FixPaths(include_dirs)
1268 midl_include_dirs = _FixPaths(midl_include_dirs)
1269 resource_include_dirs = _FixPaths(resource_include_dirs)
1270 return include_dirs, midl_include_dirs, resource_include_dirs
1271
1272
1273def _GetLibraryDirs(config):

Callers 2

_FinalizeMSBuildSettingsFunction · 0.85

Calls 2

_FixPathsFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected