Hi forum,
Is there a way to know if the compilation with line command is OK or NOT unless parsing the output ??
Regards,
Hi forum,
Is there a way to know if the compilation with line command is OK or NOT unless parsing the output ??
Regards,
You'll need to check what that "line" command of yours does.
Standard tools like make, jom, ninja, report success/failure via return codes, maybe your "line" command does as well.
Cheers,
_
I have an idea, but not sure if always true
After each successful compilation, we get (.exe, .dll or .so) ... check in your directory if the (.exe,.dll or .so) exists or not
You can use exists() method : http://doc.qt.io/qt-4.8/qfile.html#exists-2
@anda_skoa what dou you think ??
Thanks for your answers,
@RegMe : the idea seems good, I have to distinguish between Windows, Unix and Mac extension
Any Idea
Regards,
I write the best type of code possible, code that I want to write, not code that someone tells me to write!
Bookmarks