bkaradzic / GENie

GENie - Project generator tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

custombuildtask has a single output_file

greenkalx opened this issue · comments

Is there a way to provide more than one output file to custombuildtask?

In Visual Studio, it's used to avoid running a command every time. See 'Outputs':
https://docs.microsoft.com/en-us/cpp/build/specifying-custom-build-tools?view=vs-2019

premake has a 'buildoutputs' that handles this?
https://github.com/premake/premake-core/wiki/buildcommands

I'm trying to decide on continuing with existing Visual Studio projects for Windows, and CMake for Linux. Or move to GENie or premake with the aim of having cleaner projects and being able to target other platforms (xcode..).
This CustomBuild stuff is likely the trickiest bit.
Just paste the whole section straight from the .vcxproj instead of using custombuildtask?

I found <Outputs> in vstudio_vcxproj.lua.
But I have a single command with multiple outputs.

closing as obsolete