Premake

Premake
premake
Importez le logo de ce logiciel
Développeur Jason Perkins
Dernière version 4.3 (16 novembre 2010) [+/−]
Version avancée 4.4-beta1 (4 mai 2011) [+/−]
Environnement Multi-Plateforme
Type script
Licence Licence GPL
Site web http://industriousone.com/premake

Premake est un outil logiciel de génération de scripts de gestion de projet (makefile).

Ce projet existe depuis début 2003. il est développé par Jason Perkins sous licence GPL avec la contribution de quelques collaborateurs.

Sommaire

Principe

Premake ou : le supermake

Premake est un outil disponible sous Linux, MacOS et Windows.

Pour créer des scripts de configuration de projets ("makefile-like") spécifiques à un environnement de développement afin de distribuer un projet existant à des développeurs utilisant des IDEs différents.

A qui il s'adresse

Ce logiciel s'adresse principalement à :

  • Un chef de projet menant un projet de taille avec de nombreux développeurs.
  • Un développeur souhaitant pouvoir changer d'IDE facilement.

Fonctionnement

Rôle de Premake

Premake génère à partir d'un script de configuration un autre script. En entrée : script de configuration premake A la sortie : script de compilation gnu make ou visual studio ou autre.

Utilisation premake fonctionnement.png

et d'autres à venir.

Installation

L'installation est simple. Le programme se présente comme un exécutable compressé d'une centaine de kilo octets.

Utilisation

L'utilisation se fait en utilisant la commande

$ premake --target toolset

toolset fait partie de la liste : vs2008,vs2005,vs2003,vs2002,vs6,gnu, sharpdev,monodev,cb-gcc,cb-ow,cl-gcc

Le dossier doit contenir un makefile spécial pour premake; il est généralement appelé premake.lua (par convention). C'est un fichier codé en langage Lua.

Exemple d'utilisation :

$ premake --help   
$ premake --dotnet mono2 --target gnu   
$ premake --clean

Concepts de base (paquetage, projet)

Avantages - Inconvénients

Pour
  • Facile et rapide à mettre en œuvre.
  • Bénéficie de la puissance de Lua.
  • Lua est facile à apprendre.
Contre
  • Projet relativement jeune ne bénéficiant pas d'une large communauté d'utilisateurs.
  • Certaines plateformes non supportées (dommage pour ce genre de produit cherchant l'unification).
  • Nécessite une bonne maîtrise de la gestion de projet.

Voir aussi

D'autres outils similaires existent, parmi lesquels:

Liens externes


Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article Premake de Wikipédia en français (auteurs)

Игры ⚽ Поможем написать реферат

Regardez d'autres dictionnaires:

  • premake — Тип инструмент автоматизации сборки Автор Перкинс, Джейсон Написана на Lua, C Операционная система Windows, Mac OS X, Linux, BSD, Solaris Последняя версия 4.3 (16 ноября 2010) Тестовая версия …   Википедия

  • Premake — Тип инструмент автоматизации сборки В области разработки ПО premake это утилита с открытым кодом для автоматизации сборки программ из исходного кода. Содержание 1 Особенности …   Википедия

  • premake — v.t., premade, premaking. * * * …   Universalium

  • premake — verb To make in advance …   Wiktionary

  • premake — v.t., premade, premaking …   Useful english dictionary

  • make — В Викисловаре есть статья «make» make  утилита, автоматизирующая процесс преобразования файлов из одной формы в другую. Чаще всего это компиляция …   Википедия

  • Pa amb tomàquet — (literally bread with tomato in Catalan) is a typical preparation of Catalan cuisine, that consists of bread optionally toasted with tomato rubbed over and seasoned with olive oil and salt. Sometimes garlic is rubbed on the bread before rubbing… …   Wikipedia

  • Make (software) — make Original author(s) Stuart Feldman Initial release 1977 Type build automation tool In software development, Make is a utility that automatically builds executable programs and libraries from source code by rea …   Wikipedia

  • CMake — Developer(s) Andy Cedilnik, Bill Hoffman, Brad King, Ken Martin, Alexander Neundorf Stable release 2.8.6 / October 4, 2011; 42 days ago …   Wikipedia

  • List of build automation software — Build automation involves scripting or automating the process of compiling computer source code into binary code. Below is a list of notable tools associated with the build automation process. Contents 1 Make based tools 2 Non Make based tools 3… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”