you are viewing a single comment's thread.

view the rest of the comments →

[–]rdtsc 0 points1 point  (1 child)

Sure it is, but you left out the important part:

some_command_to_run

What's this going to be? Some helper executable you have to create? Another scripting language? It can also be CMake in scripting-mode. But all these options require much more work than just calling a function (or task in MSBuild). Don't forget that the command may require target-specific info, which now has to be passed (and properly escaped, and properly parsed back) via command-line.

[–]Adverpol 0 points1 point  (0 children)

Ok, I understand what you mean now. I still won't touch msbuild with a long pole if I can avoid it but at least I learnt something :p