diff options
| author | ChrisDill <chrisdude134@gmail.com> | 2018-08-15 11:38:38 +0100 |
|---|---|---|
| committer | ChrisDill <chrisdude134@gmail.com> | 2018-08-15 11:38:38 +0100 |
| commit | a23feee6f3c3454543a876d1ea1cb5a9307c8341 (patch) | |
| tree | 96fd5f04896b945001debdd07128e171a17e4c5b /projects/SublimeText | |
| parent | 00f5f2ead296f4efdc95b2fc394acd2649e9c803 (diff) | |
| download | raylib-a23feee6f3c3454543a876d1ea1cb5a9307c8341.tar.gz raylib-a23feee6f3c3454543a876d1ea1cb5a9307c8341.zip | |
Added Sublime Text 3 project template
- Added Sublime Text project file.
- Added Sublime Text build system.
Diffstat (limited to 'projects/SublimeText')
| -rw-r--r-- | projects/SublimeText/README.md | 13 | ||||
| -rw-r--r-- | projects/SublimeText/raylib.sublime-build | 13 | ||||
| -rw-r--r-- | projects/SublimeText/raylib.sublime-project | 8 |
3 files changed, 34 insertions, 0 deletions
diff --git a/projects/SublimeText/README.md b/projects/SublimeText/README.md new file mode 100644 index 00000000..5100d643 --- /dev/null +++ b/projects/SublimeText/README.md @@ -0,0 +1,13 @@ +# Sublime Text 3 project template + +This is a project template to be used with [Sublime Text 3](https://www.sublimetext.com/). + +Simply click on the `raylib.sublime-project` file to open it with Sublime Text. +Alternatively you can open Sublime Text first and click on the `Project -> Open Project`. + +It comes with raylib.sublime-build. This file needs to be copied into the sublime packages folder for the user. On windows it can be found in `%AppData%\Sublime Text 3\Packages\User`. + +Once done open the project and select `Tools -> Build System -> raylib`. +To run press Ctrl + Shift + B and select which build you want to run. + +For a full overview of build systems please check the [build systems guide](https://www.sublimetext.com/docs/3/build_systems.html). diff --git a/projects/SublimeText/raylib.sublime-build b/projects/SublimeText/raylib.sublime-build new file mode 100644 index 00000000..faa02dd8 --- /dev/null +++ b/projects/SublimeText/raylib.sublime-build @@ -0,0 +1,13 @@ +{ + "variants": [ + { + "name": "desktop", + "shell_cmd": "cd ${folder}\\src && mingw32-make PLATFORM=PLATFORM_DESKTOP" + }, + + { + "name": "examples", + "shell_cmd": "cd ${folder}\\examples && mingw32-make PLATFORM=PLATFORM_DESKTOP" + }, + ] +} diff --git a/projects/SublimeText/raylib.sublime-project b/projects/SublimeText/raylib.sublime-project new file mode 100644 index 00000000..5eaa1a79 --- /dev/null +++ b/projects/SublimeText/raylib.sublime-project @@ -0,0 +1,8 @@ +{ + "folders": + [ + { + "path": "../../" + } + ] +} |
