Window OS make distclean && qmake && make one line
On linux or mac i have no problem to build a small script to bubble a coffe....
But on a bat file my coffe make only the first line.....
file auto.bat !!!!
how i bring bubble this bat file and make 3 line command ...
the same as linux #make distclean && qmake && make [return]
Code:
@ECHO OFF
REM #########################################################
REM
REM \brief Crate clean and qmake and make.
REM
REM #########################################################
ECHO clean file
REM ###comand 1 ######################################################
make distclean
ECHO prebuild
REM ###comand 2 ######################################################
dir
REM ###comand 3 ######################################################
ECHO qmake start
qmake
REM ###comand 4 ######################################################
ECHO build
REM ###comand 5 ######################################################
make
Re: Window OS make distclean && qmake && make one line
Could you rephrase, please? What is the actual problem? Is distclean target not defined in Windows?
Re: Window OS make distclean && qmake && make one line
Quote:
Originally Posted by
jpn
Could you rephrase, please? What is the actual problem? Is distclean target not defined in Windows?
no.... i wand to have a bat file && all 3 command inside....
make distclean || qmake || make
i can make this only on linux or mac... and not on bat script file :o
Re: Window OS make distclean && qmake && make one line
Oh, do you mean that you want the one and same script to run on each platform? I'm afraid it's not that simple.
Re: Window OS make distclean && qmake && make one line
Sure it's simple, just stick it inside your project (.pro) file using qmake directives. Then you can call "make rebuild" or something like that and all the commands will be executed.