Skip to content

Instantly share code, notes, and snippets.

@evanlucas
Last active June 25, 2020 11:27
Show Gist options
  • Save evanlucas/f85849754acf72dcb2d9d03cc1e27f8b to your computer and use it in GitHub Desktop.
Save evanlucas/f85849754acf72dcb2d9d03cc1e27f8b to your computer and use it in GitHub Desktop.
WIP vscode configuration for Node.js core
{
"configurations": [
{
"name": "Mac",
"intelliSenseMode": "clang-x64",
"cppStandard": "gnu++14",
"includePath": [
"src/**",
"deps/histogram/src/",
"deps/uvwasi/include/",
"deps/uv/include/",
"deps/v8/include/",
"deps/cares/include/",
"deps/openssl/openssl/include/",
"deps/zlib/",
"deps/llhttp/include/",
"deps/icu-small/source/i18n/",
"deps/icu-small/source/common/",
"deps/nghttp2/lib/includes/",
"deps/brotli/c/include/"
],
"compilerArgs": [
"-Wall",
"-Wextra",
"-Wno-unused-parameter",
"-Wendif-labels",
"-W",
"-Wl,-no_pie",
"-Wl,-search_paths_first",
"-Werror=undefined-inline",
"-fno-exceptions",
"-fno-rtti",
"-mmacosx-version-min=10.13",
"-fno-strict-aliasing",
"-std=gnu++1y",
"stdlib=libc++",
"-framework CoreFoundation",
"-lm"
],
"defines": [
"NODE_ARCH=x64",
"NODE_PLATFORM=darwin",
"NODE_WANT_INTERNALS=1",
"V8_DEPRECATION_WARNINGS=1",
"NODE_ENABLE_LARGE_CODE_PAGES=1",
"HAVE_OPENSSL=1",
"HAVE_INSPECTOR=1",
"V8_DEPRECATION_WARNINGS",
"V8_IMMINENT_DEPRECATION_WARNINGS",
"_DARWIN_USE_64_BIT_INODE=1",
"__POSIX__",
"OPENSSL_THREADS",
"NODE_OPENSSL_SYSTEM_CERT_PATH=\"\"",
"HAVE_DTRACE=1",
"NODE_USE_V8_PLATFORM=1",
"NODE_HAVE_I18N_SUPPORT=1",
"UCONFIG_NO_SERVICE=1",
"U_ENABLE_DYLOAD=0",
"U_STATIC_IMPLEMENTATION=1",
"U_HAVE_STD_STRING=1",
"UCONFIG_NO_BREAK_ITERATION=0",
"_LARGEFILE_SOURCE",
"_FILE_OFFSET_BITS=64",
"NGHTTP2_STATICLIB",
"OPENSSL_NO_PINSHARED"
]
}
],
"version": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment