Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custombuildtask has a single output_file #495

Closed
greenkalx opened this issue Mar 1, 2020 · 2 comments
Closed

custombuildtask has a single output_file #495

greenkalx opened this issue Mar 1, 2020 · 2 comments

Comments

@greenkalx
Copy link

greenkalx commented Mar 1, 2020

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?

@greenkalx
Copy link
Author

greenkalx commented Mar 1, 2020

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

@greenkalx
Copy link
Author

closing as obsolete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant