68 lines
1.5 KiB
JSON
68 lines
1.5 KiB
JSON
[
|
|
{
|
|
"arguments": [
|
|
"/usr/bin/g++",
|
|
"-std=c++17",
|
|
"-I./include/",
|
|
"-Wall",
|
|
"-Weffc++",
|
|
"-pedantic",
|
|
"-pedantic-errors",
|
|
"-Waggregate-return",
|
|
"-Wcast-align",
|
|
"-Wcast-qual",
|
|
"-Wchar-subscripts",
|
|
"-Wcomment",
|
|
"-Wdisabled-optimization",
|
|
"-Wformat",
|
|
"-Wformat=2",
|
|
"-Wformat-nonliteral",
|
|
"-Wformat-security",
|
|
"-Wformat-y2k",
|
|
"-Wimport",
|
|
"-Winit-self",
|
|
"-Winline",
|
|
"-Winvalid-pch",
|
|
"-Wlong-long",
|
|
"-Wmissing-braces",
|
|
"-Wmissing-format-attribute",
|
|
"-Wmissing-include-dirs",
|
|
"-Wmissing-noreturn",
|
|
"-Wpacked",
|
|
"-Wparentheses",
|
|
"-Wpointer-arith",
|
|
"-Wredundant-decls",
|
|
"-Wreturn-type",
|
|
"-Wsequence-point",
|
|
"-Wshadow",
|
|
"-Wsign-compare",
|
|
"-fstack-protector-all",
|
|
"-Wstack-protector",
|
|
"-Wstrict-aliasing",
|
|
"-Wstrict-aliasing=2",
|
|
"-Wswitch",
|
|
"-Wswitch-default",
|
|
"-Wswitch-enum",
|
|
"-Wtrigraphs",
|
|
"-Wunknown-pragmas",
|
|
"-Wunreachable-code",
|
|
"-Wvariadic-macros",
|
|
"-Wvolatile-register-var",
|
|
"-Wwrite-strings",
|
|
"-Werror=return-type",
|
|
"-Werror=narrowing",
|
|
"-ftrapv",
|
|
"-Wfloat-equal",
|
|
"-Wpointer-arith",
|
|
"-D_FORTIFY_SOURCE=2",
|
|
"-O2",
|
|
"-c",
|
|
"-o",
|
|
"obj/myapp.o",
|
|
"src/myapp.cpp"
|
|
],
|
|
"directory": "/path/to/project",
|
|
"file": "/path/to/project/src/myapp.cpp",
|
|
"output": "/path/to/project/obj/myapp.obj",
|
|
}
|
|
]
|