Greeting, I'm a new user of CodeBlocks and I'm developing a software that needs to call the CodeBlocks compiler using the command prompt. I checked the manual of CodeBlocks and I used this command:
C:\CodeBlocks>codeblocks.exe /na /nd --no-splash-screen --no-batch-window-close --rebuild C:\Users\Pedro\Desktop\teste\teste\teste.cbp --target='Debug'
When I run this I always get the message "Nothing to be done" and the project is not rebuild. The same happens if i use --build instead of --rebuild.
However, if i try to build using CodeBlocks (not in command prompt but in the application), the build works with no problems...
Probably is something simple that I'm missing here, but I would appreciate any help. Thanks.