marichan022

openGLFW.sublime-build

Jun 21st, 2019
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.10 KB | None | 0 0
  1. // VJEZBE IZ RACUNALNE GRAFIKE
  2.  
  3. {
  4.     "shell_cmd": "g++ -I.. ‐o \"$file_base_name\" \"$file_name\" ..\\shader.cpp ..\\objloader.cpp ..\\textures.cpp ..\\beziercurve.cpp ..\\bmath.cpp ‐lglew32 -lglfw3dll ‐lopengl32 && \"$file_base_name\"",
  5.     "working_dir": "$file_path",
  6.     "selector": "source.cpp",
  7.     "shell": true
  8. }
  9.  
  10. // PROJEKTI IZ RACUNALNE GRAFIKE
  11.  
  12. /*{
  13.     "shell_cmd": "g++ -I..\\..\\utils -I..\\.. -I.. ‐o \"$file_base_name\" \"$file_name\" ..\\..\\utils\\shader.cpp ..\\..\\utils\\objloader.cpp ..\\..\\utils\\textures.cpp ..\\..\\utils\\bmath.cpp ..\\..\\utils\\sphere.cpp ‐lglew32 -lglfw3dll ‐lopengl32 && \"$file_base_name\"",
  14.     "working_dir": "$file_path",
  15.     "selector": "source.cpp",
  16.     "shell": true,
  17.     "variants":
  18.     [
  19.         {
  20.             "name": "Build",
  21.             "shell_cmd": "g++ -I..\\..\\utils -I..\\.. -I.. ‐o \"$file_base_name\" \"$file_name\" ..\\..\\utils\\shader.cpp ..\\..\\utils\\objloader.cpp ..\\..\\utils\\textures.cpp ..\\..\\utils\\bmath.cpp ..\\..\\utils\\sphere.cpp ‐lglew32 -lglfw3dll ‐lopengl32 && \"$file_base_name\""
  22.         },
  23.         {
  24.             "name": "Run",
  25.             "shell_cmd": "\"$file_base_name\""
  26.         }
  27.     ]
  28. }*/
Advertisement
Add Comment
Please, Sign In to add comment