PrusaSlicer.sublime-project 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "build_systems":
  3. [
  4. {
  5. "name": "List",
  6. //"file_regex": " at ([^-\\s]*) line ([0-9]*)",
  7. // "file_regex": " at (D\\:\\/src\\/Slic3r\\/.*?) line ([0-9]*)",
  8. "shell_cmd": "ls -l"
  9. },
  10. {
  11. "name": "Run",
  12. "working_dir": "$project_path",
  13. "file_regex": " at (.*?) line ([0-9]*)",
  14. // "shell_cmd": "chdir & perl slic3r.pl --DataDir \"C:\\Users\\Public\\Documents\\Prusa3D\\Slic3r settings MK2\" --gui \"..\\Slic3r-tests\\gap fill torture 20 -rt.stl\""
  15. "shell_cmd": "chdir & perl slic3r.pl"
  16. },
  17. {
  18. "name": "full",
  19. "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
  20. "shell_cmd": "chdir & perl Build.pl"
  21. },
  22. {
  23. "name": "xs",
  24. "working_dir": "$project_path/build",
  25. // for Visual Studio:
  26. "file_regex": "^(..[^:]*)\\(([0-9]+)\\)(.*)$",
  27. // For GCC:
  28. // "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
  29. "shell_cmd": "chdir & ninja -j 6 -v",
  30. "env": {
  31. // "PATH": "C:\\Program Files (x86)\\MSBuild\\12.0\\bin\\amd64;C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\BIN\\amd64;C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\IDE;C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\Tools;%PATH%;c:\\wperl64d\\site\\bin;c:\\wperl64d\\bin",
  32. // "PERL_CPANM_HOME": "c:\\wperl64d\\cpanm",
  33. // "WXDIR": "D:\\src-perl\\wxWidgets-3.0.3-beta1",
  34. // "BOOST_DIR": "D:\\src-perl\\boost_1_61_0",
  35. // "BOOST_INCLUDEDIR": "D:\\src-perl\\boost_1_61_0",
  36. // "BOOST_LIBRARYDIR": "D:\\src-perl\\boost_1_61_0\\stage\\x64\\lib",
  37. // "SLIC3R_STATIC": "1"
  38. }
  39. },
  40. {
  41. "name": "xs & run",
  42. "working_dir": "$project_path/build",
  43. "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
  44. "shell_cmd": "chdir & ninja -j 6 & cd .. & perl slic3r.pl --gui \"..\\Slic3r-tests\\star3-big2.stl\""
  45. },
  46. {
  47. "name": "Slic3r - clean",
  48. "working_dir": "$project_path/build",
  49. "file_regex": "^(..[^:]*)(?::|\\()([0-9]+)(?::|\\))(?:([0-9]+):)?\\s*(.*)",
  50. "shell_cmd": ["chdir & ninja clean"]
  51. },
  52. {
  53. "name": "run tests",
  54. "working_dir": "$project_path/build",
  55. // for Visual Studio:
  56. "file_regex": "^(..[^:]*)\\(([0-9]+)\\)(.*)$",
  57. "shell_cmd": "chdir & ctest --verbose"
  58. },
  59. {
  60. "name": "Clean & Configure",
  61. "working_dir": "$project_path",
  62. // for Visual Studio:
  63. "file_regex": "^(..[^:]*)(?::|\\()([0-9]+)(?::|\\))(?:([0-9]+):)?\\s*(.*)",
  64. "shell_cmd": "chdir & rmdir /S /Q build & mkdir build & cd build & cmake -G Ninja .. -DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_RULE_PROGRESS=OFF -DCMAKE_RULE_MESSAGES=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo"
  65. },
  66. {
  67. "name": "Configure",
  68. "working_dir": "$project_path/build",
  69. // for Visual Studio:
  70. "file_regex": "^(..[^:]*)(?::|\\()([0-9]+)(?::|\\))(?:([0-9]+):)?\\s*(.*)",
  71. "shell_cmd": "cmake -G Ninja .. -DCMAKE_COLOR_MAKEFILE=OFF -DCMAKE_RULE_PROGRESS=OFF -DCMAKE_RULE_MESSAGES=OFF -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo"
  72. }
  73. ],
  74. "folders":
  75. [
  76. {
  77. "path": ".",
  78. // "folder_exclude_patterns": [".svn", "._d", ".metadata", ".settings"],
  79. "file_exclude_patterns": ["XS.c", "*.pch", "*.ilk", "*.js" ]
  80. }
  81. ],
  82. "settings":
  83. {
  84. "sublimegdb_workingdir": "${folder:${project_path:run}}",
  85. // NOTE: You MUST provide --interpreter=mi for the plugin to work
  86. // "sublimegdb_commandline": "D:\\Qt\\Tools\\mingw492_32\\bin\\gdb.exe --interpreter=mi -ex 'target localhost:2345'",
  87. // "sublimegdb_commandline": "D:\\Qt\\Tools\\mingw492_32\\bin\\gdb.exe --interpreter=mi perl --args perl slic3r.pl",
  88. // "sublimegdb_commandline": "D:\\Qt\\Tools\\mingw492_32\\bin\\gdb.exe --interpreter=mi perl --args slic3r.pl ",
  89. // "sublimegdb_commandline": "D:\\Qt\\Tools\\mingw492_32\\bin\\gdb.exe --interpreter=mi -e C:\\Strawberry\\perl\\bin\\perl.exe -s C:\\Strawberry\\perl\\site\\lib\\auto\\Slic3r\\XS\\XS.xs.dll --args perl slic3r.pl -j 1 --gui D:\\src\\Slic3r-tests\\star3-big.stl",
  90. "sublimegdb_commandline": "D:\\Qt\\Tools\\mingw492_32\\bin\\gdb.exe --interpreter=mi perl.exe --args perl slic3r.pl -j 1 --gui", // D:\\src\\Slic3r-tests\\star3-big.stl",
  91. // "sublimegdb_commandline": "D:\\Qt\\Tools\\mingw492_32\\bin\\gdb.exe --interpreter=mi -x slic3r.gdb",
  92. // "arguments": "slic3r -j 1 --gui ../Slic3r-tests/star3-big.stl",
  93. // "arguments": "../slic3r.pl -j 1 --gui",
  94. // "sublimegdb_exec_cmd": "-exec-continue",
  95. // Add "pending breakpoints" for symbols that are dynamically loaded from
  96. // external shared libraries
  97. "debug_ext" : true,
  98. "run_after_init": false,
  99. "close_views": false
  100. }
  101. }