detobel36

Build SublimeText

Mar 9th, 2015
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.05 KB | None | 0 0
  1. {
  2.     "cmd": ["g++",
  3.         "-std=c++14",
  4.         "-Wpedantic",
  5.         "-Wall",
  6.         "-Wextra",
  7.         "-Winit-self",
  8.         "-Winline",
  9.         "-Wconversion",
  10.         "-Weffc++",
  11.         "-Wstrict-null-sentinel",
  12.         "-Wold-style-cast",
  13.         "-Wnoexcept",
  14.         "-Wctor-dtor-privacy",
  15.         "-Woverloaded-virtual",
  16.         "-Wconversion",
  17.         "-Wsign-promo",
  18.         "-Wzero-as-null-pointer-constant",
  19.      "${file}", "-o", "${file_path}/${file_base_name}"],
  20.     "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
  21.     "working_dir": "${file_path}",
  22.     "selector": "source.c, source.c++",
  23.  
  24.     "variants":
  25.    [
  26.         {
  27.             "name": "Run",
  28.             "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}'"]        }
  29.     ]
  30. }
Advertisement
Add Comment
Please, Sign In to add comment