Questions tagged [premake]

Lua embedded build configuration and project generation tool

Premake is a build configuration tool. Describe your C, C++, or C# software project using a simple, easy to read lua syntax and let Premake generate the project files for:

  • Microsoft Visual Studio 2002-2010, including the Express editions
  • GNU Make, including Cygwin and MinGW
  • Apple Xcode
  • Code::Blocks
  • CodeLite
  • IC#Code SharpDevelop
  • MonoDevelop
233 questions
0
votes
1 answer

How to build jansson using premake?

I am trying to build jansson C library using premake. The designers of the library require us to: ./configure make make install the above steps generates jansson_config.h that is needed for the build. What I want to do is: ./configure premake4…
Kam
  • 5,878
  • 10
  • 53
  • 97
0
votes
1 answer

Set CodeLite Resources with Premake

Is there a possible way to configure Resources Compiler Options (https://i.stack.imgur.com/aUgCS.png) in CodeLite with premake4.lua file? Thanks for answers.
Milan Gatyás
  • 2,509
  • 1
  • 17
  • 23
0
votes
1 answer

How to set option for compiler in premake4?

How can I set option that is available for particular compiler in premake4? For instance only in Visual Studio set "Whole Program Optimization"? This option is not available in GCC...
fen
  • 9,835
  • 5
  • 34
  • 57
0
votes
1 answer

How to generate .so and .a file one time in premake

I am using premake, but do not know how to build .so and .a files during one compilation. kind only accepts one argument, either "SharedLib" or "StaticLib". I do not want to compile the same project twice just for generating different types of lib…
Dean Chen
  • 3,800
  • 8
  • 45
  • 70
0
votes
1 answer

os.rmdir in premake cannot be used in normal lua

From premake cookbook, I get the following code: solution "MySolution" configurations { "Debug", "Release" } configuration { "Debug" } targetdir "bin/debug" configuration { "Release" } targetdir "bin/release" if _ACTION == "clean"…
Dean Chen
  • 3,800
  • 8
  • 45
  • 70
0
votes
1 answer

How to get executables using premake?

sorry if this question is too naive but i'm new to using build tools as previously i used visual studio's default build tool( just right click and select build ). Now i am working with linux, and want to develop a cross platform application.I'm now…
Rampal Chaudhary
  • 707
  • 1
  • 8
  • 18
0
votes
1 answer

Reference errors when linking wxWidgets statically

I'm using this Premake4 script for wxWidgets in my build script: wx_config {Unicode="yes", Version="2.9", Libs="core,aui,media,html", WindowsCompiler="gcc", Static="yes"} But CodeBlocks respectively MinGW outputs many…
ComFreek
  • 29,044
  • 18
  • 104
  • 156
-2
votes
1 answer

Premake5 will not run on Mac OS

enter image description here I tried to run the premake5 file retrieved from https://premake.github.io/download.html But bash gives me this. Not sure what is wrong...
1 2 3
15
16