I am building a cmake application, I'd like to know if there is a simple way to get a return value from cmake BUILD directory when it is up to date?
For example, if I see [100%] Built target blahblah
when I type make
in that BUILD dir, then I hope to get a value 1
.