Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Michael on March 31, 2006, 03:52:11 pm
-
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:
$(#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
-
How can I specify more commands?
Hmm, one command per-line doesn't work? It should...
-
How 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