Difference between revisions of "Premake Project Manager"

From Qt Wiki
Jump to: navigation, search
 
Line 1: Line 1:
[http://industriousone.com/premake Premake] ''[industriousone.com]'' is a build configuration tool allowing user to describe C, C++, or C# software project using a simple, easy to read syntax. Main features are:
+
[[Category:Tools::Qt Creator]]
  
* Declarative syntax based on Lua
+
&quot;Premake&amp;quot;:http://industriousone.com/premake is a build configuration tool allowing user to describe C, C+'', or C# software project using a simple, easy to read syntax. Main features are:<br />* Declarative syntax based on Lua<br />* Full power of general purpose language (Lua) available for non-trivial tasks<br />* Generation of project files for popular IDEs including Visual Studio and Xcode, which don’t require presence of Premake executable on actual build host<br />* Support for flexible build configuration, exposed to user as configure-style options<br />* Support for cross-compilation<br />* Distributed as small sized single executable without external dependencies<br />* Unlimited extensibility – define new APIs, build tools, or even change behavior of build system internals from within your project!<br />* Support for building Qt projects - see [http://industriousone.com/topic/full-stack-qt-based-development-premake-available-download]
* Full power of general purpose language (Lua) available for non-trivial tasks
 
* Generation of project files for popular <span class="caps">IDE</span>s including Visual Studio and Xcode, which don’t require presence of Premake executable on actual build host
 
* Support for flexible build configuration, exposed to user as configure-style options
 
* Support for cross-compilation
 
* Distributed as small sized single executable without external dependencies
 
* Unlimited extensibility – define new <span class="caps">API</span>s, build tools, or even change behavior of build system internals from within your project!
 
* Support for building Qt projects see [http://industriousone.com/topic/full-stack-qt-based-development-premake-available-download]
 
  
This plugin allows user to open, browse, build, and debug Premake projects inside Qt Creator.
+
<br />This plugin allows user to open, browse, build, and debug Premake projects inside Qt Creator.
 +
<br />* Maintainer: Konstantin Tokarev (annulen on freenode.net)<br />* Repository: https://gitorious.org/qtcreator-premake-plugin
 +
<br />h2. Installation
 +
<br />You can get binary version for Windows from [http://industriousone.com/topic/full-stack-qt-based-development-premake-available-download]. For other operating systems, or if you want bleeding edge version, get the source code:<br /><code><br />git://gitorious.org/qtcreator-premake-plugin/qtcreator-premake-plugin.git<br />git submodule init<br />git submodule update<br /></code><br />and follow instruction in README file.
 +
<br />h2. Usage
 +
<br />Open project file &quot;premake4.lua&amp;quot; in Qt Creator just like you open .pro files.
 +
<br />h3. Simple Qt project
 +
<br /><code><br />require &quot;qt-support&amp;quot;
 +
<br />solution &quot;MyApplication&amp;quot;<br /> configurations { &quot;Debug&amp;quot;, &quot;Release&amp;quot; }
 +
<br /> project &quot;MyApplication&amp;quot;<br /> kind &quot;WindowedApp&amp;quot;<br /> language &quot;C''+&quot;<br /> uses &quot;Qt&amp;quot;<br /> files {<br /> &quot;src/*'''.h&amp;quot;,<br /> &quot;src/.cpp&amp;quot;,<br /> &quot;src/.ui&amp;quot;,<br /> &quot;src/.qrc&amp;quot;<br /> }<br /> configuration &quot;Debug&amp;quot;<br /> flags { &quot;Symbols&amp;quot; }
 +
<br /> configuration &quot;Release&amp;quot;<br /> flags { &quot;Optimize&amp;quot; }<br /></code>
 +
<br />h3. More documentation
 +
<br />https://bitbucket.org/premake/premake-dev/wiki/Getting_started_with_Qt_and_Premake<br />https://bitbucket.org/premake/premake-dev/wiki/Qt_add-on_reference_manual
 +
<br />h3. More complex examples
 +
<br />https://github.com/annulen/qt-examples-premake
 +
<br />h2. Current status
 +
<br />Right now plugin is of &quot;beta&amp;quot; quality.
 +
<br />''' Works on Linux, Mac OS X, and Windows<br />* Source compatible with Qt Creator 2.3, 2.4, and 2.5<br />* Allows to open and browse premake4.lua projects<br />* Allows to change toolchains and Qt versions from GUI<br />* Imports build configurations from project file<br />* Includes basic Lua editor to simplify project writing
  
* Maintainer: Konstantin Tokarev (annulen on freenode.net)
+
What is missing<br />* <s>Run configurations are not created automatically for built executables</s> Available in master<br />* No project create/import wizard<br />* Debugging from IDE on Windows is broken
* Repository: https://gitorious.org/qtcreator-premake-plugin
 
 
 
==Installation==
 
 
 
You can get binary version for Windows from [http://industriousone.com/topic/full-stack-qt-based-development-premake-available-download]. For other operating systems, or if you want bleeding edge version, get the source code:<br /> and follow instruction in <span class="caps">README</span> file.
 
 
 
==Usage==
 
 
 
Open project file “premake4.lua” in Qt Creator just like you open .pro files.
 
 
 
===Simple Qt project===
 
 
 
===More documentation===
 
 
 
https://bitbucket.org/premake/premake-dev/wiki/Getting_started_with_Qt_and_Premake<br />https://bitbucket.org/premake/premake-dev/wiki/Qt_add-on_reference_manual
 
 
 
===More complex examples===
 
 
 
https://github.com/annulen/qt-examples-premake
 
 
 
==Current status==
 
 
 
Right now plugin is of “beta” quality.
 
 
 
* Works on Linux, Mac OS X, and Windows
 
* Source compatible with Qt Creator 2.3, 2.4, and 2.5
 
* Allows to open and browse premake4.lua projects
 
* Allows to change toolchains and Qt versions from <span class="caps">GUI</span>
 
* Imports build configurations from project file
 
* Includes basic Lua editor to simplify project writing
 
 
 
What is missing
 
 
 
* <del>Run configurations are not created automatically for built executables</del> Available in master
 
* No project create/import wizard
 
* Debugging from <span class="caps">IDE</span> on Windows is broken
 
 
 
===Categories:===
 
 
 
* [[:Category:Tools|Tools]]
 
** [[:Category:Tools::Qt-Creator|Qt Creator]]
 

Revision as of 09:51, 24 February 2015


"Premake&quot;:http://industriousone.com/premake is a build configuration tool allowing user to describe C, C+, or C# software project using a simple, easy to read syntax. Main features are:
* Declarative syntax based on Lua
* Full power of general purpose language (Lua) available for non-trivial tasks
* Generation of project files for popular IDEs including Visual Studio and Xcode, which don’t require presence of Premake executable on actual build host
* Support for flexible build configuration, exposed to user as configure-style options
* Support for cross-compilation
* Distributed as small sized single executable without external dependencies
* Unlimited extensibility – define new APIs, build tools, or even change behavior of build system internals from within your project!
* Support for building Qt projects - see [1]


This plugin allows user to open, browse, build, and debug Premake projects inside Qt Creator.
* Maintainer: Konstantin Tokarev (annulen on freenode.net)
* Repository: https://gitorious.org/qtcreator-premake-plugin
h2. Installation
You can get binary version for Windows from [2]. For other operating systems, or if you want bleeding edge version, get the source code:

git://gitorious.org/qtcreator-premake-plugin/qtcreator-premake-plugin.git
git submodule init
git submodule update

and follow instruction in README file.
h2. Usage
Open project file "premake4.lua&quot; in Qt Creator just like you open .pro files.
h3. Simple Qt project

require "qt-support&quot;
solution "MyApplication&quot;
configurations { "Debug&quot;, "Release&quot; }
project "MyApplication&quot;
kind "WindowedApp&quot;
language "C+"
uses "Qt&quot;
files {
"src/*'
.h&quot;,
"src/.cpp&quot;,
"src/.ui&quot;,
"src/.qrc&quot;
}
configuration "Debug&quot;
flags { "Symbols&quot; }
configuration "Release&quot;
flags { "Optimize&quot; }

h3. More documentation
https://bitbucket.org/premake/premake-dev/wiki/Getting_started_with_Qt_and_Premake
https://bitbucket.org/premake/premake-dev/wiki/Qt_add-on_reference_manual
h3. More complex examples
https://github.com/annulen/qt-examples-premake
h2. Current status
Right now plugin is of "beta&quot; quality.
Works on Linux, Mac OS X, and Windows
* Source compatible with Qt Creator 2.3, 2.4, and 2.5
* Allows to open and browse premake4.lua projects
* Allows to change toolchains and Qt versions from GUI
* Imports build configurations from project file
* Includes basic Lua editor to simplify project writing

What is missing
* Run configurations are not created automatically for built executables Available in master
* No project create/import wizard
* Debugging from IDE on Windows is broken