premake-core
premake-core copied to clipboard
Premake
**What seems to be the problem?** The various cfg.buildtarget tokens appear to be incorrect in postbuildcommands. The complete (dummy) project I'm using for learning Premake demonstrates the bug: https://github.com/richard-sim/build-sys-eval/blob/248c0abae20a8509e0d8eb63e435fa3925e3cb06/foobar/src/premake5.lua#L62 ```lua...
ClangTidy code checks have been added to the Visual Studio generator in #2187. A request for the equivalent in gmake2 has been made in #2245 as well as in [this](https://github.com/premake/premake-core/pull/2187#discussion_r1494649407)...
Some time ago, I added build-time code checking for MSVC (#2190) and static analysis via clang-tidy (#2187). I also wanted to add this for the gmake2 generator, specifically for the...
**prerequisites** premake5.lua ``` Lua local qt_bin_path = "C:/dev/mx/v1/dep/qt/qt_33_x64_bin" solution "myTestSln" location "testfiles/sln" platforms "x64" configurations "release" project "myTestPrj1" kind "Utility" files (qt_bin_path.."/bin/QtDeclarative_sofistik33_x64_4.dll") filter "files:**/*.dll" buildmessage ([[%{file.name} (copy)]]) buildcommands [[xcopy /y...
%{cfg.buildtarget.abspath} returns a relative path instead of an absolute path. My usage : ``` lua filter "options:not static" kind "SharedLib" postbuildcommands ("{COPY} %{cfg.buildtarget.abspath} "..os.getcwd().."/../") ``` I'm on windows, building for...
Env: linux/clang15 Premake Version: dev latest Hello, I'm building my projects using premak5, an error occurred: HelloFoo.cppm TestConceptModules.cpp ../../testsuit/testsuit/testinst/TestConceptModules/TestConceptModules.cpp:32:8: fatal error: module 'HelloFoo' not found. My project: https://github.com/ericyonng/CrystalNet parts of...
**What are you trying to do?** Documentation description of intent to later deprecate is ambiguous. Docs read: `x64: Alias for x86_64; There is intent to deprecate this` Which one? x64...
**What are you trying to do?** Trying to setup my premake 5.lua script to build an intel fortran project. **What problem are you having?** I'm getting the following Error: invalid...
In order to deploy a Visual Studio 2022 solution, I'm using the following code: ``` newoption { trigger = "device", value = "DESKTOP|HANDHELD|IOT", description = "target device", default = "DESKTOP",...
**What seems to be the problem?** I have a workspace with multiple shared library projects and multiple applications. As you would expect, each project has multiple configurations: ``` configurations {...