Is there any smart way to run a makefile in Visual Studio only if the build is successful?

We have a makefile that was built last in our build process using Visual Studio to run our unit tests. Unfortunately, if the assembly failed, the make file is still being processed, and we have additional (annoying) errors. Any way to prevent this?

Example Project A: build dummy.exe Project B (makefile): build command: run dummy.exe / unittest

We want Project B to skip the build command when Project A created build errors. Thank!

+3
source share
2 answers

B ( makefile), A. , Project B A .

+1

" ". , - " "? " ", " ".

, ?

0

Source: https://habr.com/ru/post/1697863/


All Articles