News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

File custom build with more than one command

Started by Michael, March 31, 2006, 03:52:11 PM

Previous topic - Next topic

Michael

Hello,

I am trying to use custom build (C::B rev2285) and it works. Anyway, I would like to use more than one command. For example the file I have CDITool.ui should generate 2 files: a .h and a .cpp. Moreover, the .h should be moc'ed (by using Qt tool). I have tried to give all the necessary command separated by a &&, but it did not work. Here is my custom build:

Quote
$(#Qt)\bin\uic.exe ".\CDIToolDefault.ui" -o ".\CDIToolDefault.h" && $(#Qt)\bin\uic.exe ".\CDIToolDefault.ui" -i ".\CDIToolDefault.h" -o ".\CDIToolDefault.cpp" && $(#Qt)\bin\moc.exe ".\CDIToolDefault.h" -o "tmp\moc\moc_CDIToolDefault.cpp"

If I use just one command it works.

How can I specify more commands?

Thank you very much.

Best wishes,
Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

mandrav

QuoteHow can I specify more commands?

Hmm, one command per-line doesn't work? It should...
Be patient!
This bug will be fixed soon...

Michael

Quote from: mandrav on March 31, 2006, 03:56:36 PM
QuoteHow can I specify more commands?

Hmm, one command per-line doesn't work? It should...

Yes, it works :). Thank you very much. I have just taken out the && and put each command in a new line and re-build. I got the files :).

Best wishes,
Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]