Differences

This shows you the differences between two versions of the page.

Link to this comparison view

sublime-text-3-configfiles [2015/04/29 19:33] (current)
sam created
Line 1: Line 1:
 +PROJECT FILE:
 +<​code>​
 + {
 + "​folders":​
 + [
 + {
 + "​path":​ "​.",​
 +      "​file_include_patterns":​["​*.c","​*.h","​Makefile","​*.cpp","​*.txt","​*.md"​],​
 +      "​folder_exclude_patterns":​["​.config",​ "​.launches",​ "​.settings",​ "​targetConfigs"​]
 + }
 + ]
 +}
 +</​code>​
  
 +BUILD SYSTEM FILE:
 +<​code>​
 +{
 +  "​working_dir":​ "​${project_path:​${folder:​${file_path}}}/​Debug",​
 +  "​cmd":​ ["​gmake -k all"],
 +  "​shell":​ true,
 +
 +/*
 +  "​variants":​
 +  [
 +          { 
 +            "​name":​ "​Build", ​
 +            "​cmd":​ ["​make",​ "​clean",​ ";",​ "​make",​ ";",​ "​depend",​ ";",​ "​make",​ ";",​ "​all"​],​
 +          },
 +          {
 +              "​name":​ "​Run",​
 +              "​cmd":​ ["​LIBGL_ALWAYS_SOFTWARE=1 ./rendu2.x Graphic E3.txt"​]
 +          },
 +          {
 +              "​name":​ "​TestsOnly",​
 +              "​cmd":​ ["​./​rendu2.x"​]
 +          },
 +          {
 +              "​name":​ "​Debug",​
 +              "​cmd":​ ["ddd ./rendu2.x Graphic r2/​G2.txt"​]
 +          },
 +          {
 +              "​name":​ "​Valgrind",​
 +              "​cmd":​ ["​valgrind -v --leak-check=full --show-reachable=yes ./rendu2.x Graphic E3.txt"​]
 +          }
 +  ]
 +*/
 +}
 +</​code>​