Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "cmd": ["g++",
- "-std=c++14",
- "-Wpedantic",
- "-Wall",
- "-Wextra",
- "-Winit-self",
- "-Winline",
- "-Wconversion",
- "-Weffc++",
- "-Wstrict-null-sentinel",
- "-Wold-style-cast",
- "-Wnoexcept",
- "-Wctor-dtor-privacy",
- "-Woverloaded-virtual",
- "-Wconversion",
- "-Wsign-promo",
- "-Wzero-as-null-pointer-constant",
- "${file}", "-o", "${file_path}/${file_base_name}"],
- "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
- "working_dir": "${file_path}",
- "selector": "source.c, source.c++",
- "variants":
- [
- {
- "name": "Run",
- "cmd": ["bash", "-c", "g++ -std=c++14 -Wpedantic -Wall -Wextra -Winit-self -Winline -Wconversion -Weffc++ -Wstrict-null-sentinel -Wold-style-cast -Wnoexcept -Wctor-dtor-privacy -Woverloaded-virtual -Wconversion -Wsign-promo -Wzero-as-null-pointer-constant '${file}' -o '${file_path}/${file_base_name}' && '${file_path}/${file_base_name}'"] }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment