User forums > Help
build and rebuild in command promt
sion005:
I finally got it! Like Tim S. said, I replaced the quote by double quote and worked fine. Problem solved!
So, the command to use to build/rebuild in the command prompt is:
codeblocks.exe /na /nd --no-splash-screen --no-batch-window-close --rebuild C:\GameDev\GettingsStarted\teste\teste.cbp --target="Debug"
By the way jens, C:\CodeBlocks> is the path where I have my CodeBlocks installation, is not part of the command. :)
Anyway, thanks for your help guys!
Temtaime:
Hello.
Trying to build from command line, it works OK, but there's no console output from codeblocks, but the wiki states that it should output something.
How can i get the build log ?
BlueHazzard:
Do not resurrect old threads, create a new one...
The build log is in the build log tab at the bottom of codeblocks.
If it is not visible:
View->Logs->Build log
Temtaime:
Thanks for a reply, but i'm talking about command line build, so this topic suits perfectly.
I cannot get any console output of out of codeblocks, but wiki states that ona can redirect the output even to a file
oBFusCATed:
Have you tried to pass the --log-to-file command option?
Navigation
[0] Message Index
[*] Previous page
Go to full version