Advertisement
fig02

c_cpp_properties.json

Jan 16th, 2022
705
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.     "configurations": [
  3.         {
  4.             "name": "Linux",
  5.             "compilerPath": "${default}", // Needs to not be "" for -m32 to work
  6.             "compilerArgs": [
  7.                 "-m32" // Removes integer truncation warnings with gbi macros
  8.             ],
  9.             "intelliSenseMode": "${default}", // Shouldn't matter
  10.             "includePath": [ // Matches makefile's includes
  11.                 "${workspaceFolder}/**",
  12.                 "src",
  13.                 "assets",
  14.                 "build",
  15.                 "include"
  16.             ],
  17.             "defines": [
  18.                 "_LANGUAGE_C" // For gbi.h
  19.             ],
  20.             "cStandard": "gnu89", // C89 + some GNU extensions from C99 like C++ comments
  21.             "cppStandard": "${default}" // Only ZAPD uses C++, so doesn't really matter
  22.         }
  23.     ],
  24.     "version": 4
  25. }
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement