Determine if MSBuild CLCompile will run and invoke custom target

Like the C # answer HERE I want to create a custom target that will run before the CLCompile (which I'm already working on), but that doesn't work if the CLCompile is skipped due to updating all targets. I have searched but cannot find what I need to check.

Would it be something like Inputs = "@ (CLCompile)"?

Alternatively just a replication of the Visual Studio quick check would work for me, if I can figure out how to create a task to do this task, I can run my task if anything goes out of date at all ...

+3


source to share





All Articles