Instantly share code, notes, and snippets.

Embed
What would you like to do?
Spidermonkey c_cpp_properties hacked together
{
"configurations": [
{
"name": "Mac",
"includePath": [
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
"/usr/local/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
"/usr/include",
"${workspaceRoot}",
"${workspaceRoot}/build_DBG.OBJ/js/src",
"${workspaceRoot}/build_DBG.OBJ/dist/include"
],
"defines": ["DEBUG=1",
"ENABLE_BINARYDATA",
"ENABLE_SIMD",
"ENABLE_WASM_THREAD_OPS",
"WASM_HUGE_MEMORY",
"JS_CACHEIR_SPEW",
"ENABLE_SHARED_ARRAY_BUFFER",
"EXPORT_JS_API",
"MOZ_HAS_MOZGLUE",
"CPP_THROW_NEW=throw()",
"CROSS_COMPILE=",
"EDITLINE=1",
"ENABLE_INTL_API=1",
"ENABLE_TESTS=1",
"EXPOSE_INTL_API=1",
"GTEST_HAS_RTTI=0",
"HAVE_64BIT_BUILD=1",
"HAVE_ALLOCA_H=1",
"HAVE_CPP_DYNAMIC_CAST_TO_VOID_PTR=1",
"HAVE_CPUID_H=1",
"HAVE_DIRENT_H=1",
"HAVE_GETC_UNLOCKED=1",
"HAVE_GETOPT_H=1",
"HAVE_GMTIME_R=1",
"HAVE_I18N_LC_MESSAGES=1",
"HAVE_INTTYPES_H=1",
"HAVE_LANGINFO_CODESET=1",
"HAVE_LIBM=1",
"HAVE_LOCALECONV=1",
"HAVE_LOCALTIME_R=1",
"HAVE_MBRTOWC=1",
"HAVE_NETINET_IN_H=1",
"HAVE_NL_TYPES_H=1",
"HAVE_POSIX_MEMALIGN=1",
"HAVE_PTHREAD_GETNAME_NP=1",
"HAVE_SETLOCALE=1",
"HAVE_SSIZE_T=1",
"HAVE_STDINT_H=1",
"HAVE_STRNDUP=1",
"HAVE_SYS_MOUNT_H=1",
"HAVE_SYS_QUEUE_H=1",
"HAVE_SYS_STATVFS_H=1",
"HAVE_SYS_TYPES_H=1",
"HAVE_THREAD_TLS_KEYWORD=1",
"HAVE_TM_ZONE_TM_GMTOFF=1",
"HAVE_UNISTD_H=1",
"HAVE_VALLOC=1",
"HAVE_VA_COPY=1",
"HAVE_VA_LIST_AS_ARRAY=1",
"HAVE_VISIBILITY_ATTRIBUTE=1",
"HAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1",
"HAVE_WCRTOMB=1",
"HAVE___CXA_DEMANGLE=1",
"HAVE___SINCOS=1",
"JS_CODEGEN_X64=1",
"JS_DEBUG=1",
"JS_DEFAULT_JITREPORT_GRANULARITY=3",
"JS_GC_ZEAL=1",
"JS_JITSPEW=1",
"JS_POSIX_NSPR=1",
"JS_PUNBOX64=1",
"JS_STANDALONE=1",
"JS_TRACE_LOGGING=1",
"MALLOC_H=<malloc/malloc.h>",
"MALLOC_USABLE_SIZE_CONST_PTR=const",
"MOZILLA_UAVERSION=59.0",
"MOZILLA_VERSION=59.0a1",
"MOZILLA_VERSION_U=59.0a1",
"MOZJS_MAJOR_VERSION=59",
"MOZJS_MINOR_VERSION=0",
"MOZ_BUILD_APP=js",
"MOZ_DEBUG=1",
"MOZ_DEBUG_RUST=1",
"MOZ_DLL_SUFFIX=.dylib",
"MOZ_MEMORY=1",
"MOZ_PROFILING=1",
"MOZ_REFLOW_PERF=1",
"MOZ_REFLOW_PERF_DSP=1",
"MOZ_UPDATE_CHANNEL=default",
"NIGHTLY_BUILD=1",
"NO_NSPR_10_SUPPORT=1",
"STDC_HEADERS=1",
"U_STATIC_IMPLEMENTATION=1",
"U_USING_ICU_NAMESPACE=0",
"VA_COPY=va_copy",
"XP_DARWIN=1",
"XP_MACOSX=1",
"XP_UNIX=1",
"X_DISPLAY_MISSING=1",
"__STDC_LIMIT_MACROS",
"__STDC_CONSTANT_MACROS",
"__STDC_FORMAT_MACROS"
],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
"/usr/local/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
"/usr/include",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
},
"macFrameworkPath": [
"/System/Library/Frameworks",
"/Library/Frameworks"
]
},
{
"name": "Linux",
"includePath": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}"
],
"defines": [],
"intelliSenseMode": "clang-x64",
"browse": {
"path": [
"/usr/include",
"/usr/local/include",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
},
{
"name": "Win32",
"includePath": [
"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include",
"${workspaceRoot}"
],
"defines": [
"_DEBUG",
"UNICODE"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include/*",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
],
"version": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment