Welocme to Stulu Premake - Download
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")
- 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
#include <StuluPremake.h>
int main() {
int succes = stulu_premake_exec("C:/Folder/With/Premake5/File/In/It", ST_PREMAKE_ACTION_VS2022);
return 0;
}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"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.
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!
- Website - https://premake.github.io
- Twitter - @premakeapp
The Lua language and runtime library is © TeCGraf, PUC-Rio. See their website at http://www.lua.org/
