Skip to content

stulu08/premake-core-static-lib

 
 

Repository files navigation

Premake

Latest release Release date Commits BSD 3-Clause
Linux Windows Contributors Contributors

Welocme to Stulu Premake - Download

Just premake as an static lib

Basicly I just put all the stuff premake used in in the main project, wrote like 10 lines to execute premake and build it as a static lib. Why? Because maybe you like premake and want to do something where you need to create project files directly by code and dont want to do weird things like system("premake5 -vs2022")

NOTE:

  • Its a static lib not a dll
  • Large File Size
  • Only x64
  • Static runtime is on (/MT or /MTd)
  • If u use this pls refere me

Example

#include <StuluPremake.h>

int main() {
	int succes = stulu_premake_exec("C:/Folder/With/Premake5/File/In/It", ST_PREMAKE_ACTION_VS2022);
	return 0;
}

Welcome to Premake

Premake is a command line utility which reads a scripted definition of a software project, then uses it to perform build configuration tasks or generate project files for toolsets like Visual Studio, Xcode, and GNU Make. Premake's scripts are little Lua programs, so the sky's the limit!

workspace "MyWorkspace"
    configurations { "Debug", "Release" }

project "MyProject"
    kind "ConsoleApp"
    language "C++"
    files { "**.h", "**.cpp" }

    filter { "configurations:Debug" }
        defines { "DEBUG" }
        symbols "On"

    filter { "configurations:Release" }
        defines { "NDEBUG" }
        optimize "On"

Getting Started

Sponsors

Premake is a BSD-licensed open source project. Our many thanks to these fine people who help us spend more time adding features and supporting the community. 🎉

Want to join them? Learn more here. Use Premake at work? Ask your manager or marketing team about contributing too; your company logo will appear on our website and README, as well as all of our release pages.

Organizations

Individuals

Contributing

We love getting pull requests and rely heavily on the contributions of our community to keep Premake healthy and growing. If you're new to the project, our Contributing Guide is here.

A great big thank you to all of you who have already contributed your time and know-how!

Stay in touch

License

BSD 3-Clause

The Lua language and runtime library is © TeCGraf, PUC-Rio. See their website at http://www.lua.org/

About

Premake as an static lib

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C 72.0%
  • Lua 20.6%
  • HTML 4.6%
  • C++ 1.0%
  • CMake 0.5%
  • Perl 0.5%
  • Other 0.8%