Closed GloriousPtr closed 1 year ago
Which generator are you using?
Most generator should produce advancement when building file (even if message is not customized).
buildmessage
is for custom build and rules.
vs2022 with clang toolset is not producing any output per file except for warnings and errors. Works fine with msvc
It may be possible that it's not something supported for Clang. Could you check and see if it works for Clang + vs2022 if you add a build message by hand?
I added the above mentioned snippet but message is not customized, but is default when I use MSVC:
And with clang-cl no message shows up for compiling files:
I'm sorry if I missed the point here but I'm not sure what do you mean by "Add a build message by hand"?
From what I see, visual project doesn't have a field to customize message. I think "add a build message by hand" was about configuring directly from IDE. (But I think you cannot). Even the regular msvc doesn't customize files list.
From what I see, visual project doesn't have a field to customize message. I think "add a build message by hand" was about configuring directly from IDE. (But I think you cannot). Even the regular msvc doesn't customize files list.
Good to know. If that's the case, then no, there's no way to do this for VS solution/project exports.
Okay, I should close the issue then. Thanks for the support!
Found the solution. Added this and it worked for clang cl:
buildoptions { "/showFilenames" }
What are you trying to do? Add build message for .cpp and .c files
What problem are you having? I don't know how to do it.
What have you tried so far? Project level:
What version of Premake are you using? 5.0.0-beta2
Anything else we should know? N/A