This Sublime Text 2 plugin enables the usage of Premake from within Sublime Text, and provides a portable multi-files build system using it.
- Total 400
- Win 236
- Mac 99
- Linux 65
|Oct 31||Oct 30||Oct 29||Oct 28||Oct 27||Oct 26||Oct 25||Oct 24||Oct 23||Oct 22||Oct 21||Oct 20||Oct 19||Oct 18||Oct 17||Oct 16||Oct 15||Oct 14||Oct 13||Oct 12||Oct 11||Oct 10||Oct 9||Oct 8||Oct 7||Oct 6||Oct 5||Oct 4||Oct 3||Oct 2||Oct 1||Sep 30||Sep 29||Sep 28||Sep 27||Sep 26||Sep 25||Sep 24||Sep 23||Sep 22||Sep 21||Sep 20||Sep 19||Sep 18||Sep 17|
Sublime Text Premake Plugin
This plugin enables the usage of Premake from within Sublime Text, and provides a portable multi-files build system using it.
To install the Premake plugin, you can:
gitto clone this repository inside your Sublime Text installation packages directory;
- Download an archive of this repository and uncompress it in your Sublime Text installation package directory.
For this plugin to work, you also need to have
make installed and available in your
In order to use the Premake plugin, you must:
- Have a Sublime Text project opened
The Premake plugin uses your project settings file to retrieve and store its settings, such as the premake build file path.
- Have a premake build file
This plugin is meant to use your premake build file, not to generate it. By default, this file is named
premake4.luaand is to be stored in the root directory of your project. If you want to, you can change this behavior by setting a
premake_filesetting in your project settings file, and this path will be used instead.
You can use the Premake plugin to:
- Generate your build files
To do that, simply execute the
Premake: Generatecommand. The
premake4utility is run to generate GNU Makefiles.
- Clean the build files
- Build your project
Premakebuild system (in
Tools > Build System), and build your project like you would normally do, using the
Build: Buildcommand (or
⌘+B). This will use the generated makefiles to build your whole project. If no configuration was specified, it will build the default configuration.
- Change the build configuration
If you defined multiple build configurations (like
Release), you can use the
Premake: Select Configurationcommand to choose which configuration the build system should build. You can also edit the
premake_configurationsetting in your project file, if you prefer.
- Run your project
Premakebuild system selected, you can use the
⌘+Shift+B) command to run your project. If there's more than one runnable target in it, you will be prompted to choose which one you want to run. Your choice will be memorized in the
premake_run_targetsetting of your project file. You can change it here, or use the
Premake: Select Run Targetcommand to make a new choice.
This plugin is provided under the MIT Open Source License. That means you're free to use it for anything as long as you keep my name and the copyright notice with it. Also, I'm not responsible for anything you'll do with this plugin.
Copyright (c) 2012 Samuel Loretan (tynril at gmail dot com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.