User forums > Nightly builds
The 12 January 2019 build (11552) is out.
delphi13:
Unless I am missing something really obvious, it appears the pre-build steps are not being called when rebuilding a project using the Code::Blocks command line. Inside the environment everything is working fine, but when called with --rebuild from the command line it exits almost immediately with "Nothing to be done (all items are up-to-date)." I couldn't see any options on the Wiki for command line use referring to the pre or post steps.
I upgraded to this nightly from an older install (17.12) hoping it might be fixed, but there was no change.
I've successfully automated other projects to build using the command line, but this one needs a pre-build step to run qmake.
Any suggestions?
BlueHazzard:
Can you provide full steps to reproduce, with minimal example project?
delphi13:
It appears my "Unless I am missing something really obvious" statement came true. While building the minimal example I had the same problem occur. However when double checking things before submitting I noticed the case was wrong on the build target name ("Release" vs. "release"). Going back to my original project I had done the same thing there.
If you're open to process improvements, perhaps an error could be added to Code::Blocks if the command line --target doesn't match any of the build target names in the project. Currently it displays "Nothing to be done (all items are up-to-date)." which is not the most helpful thing when trying to debug human errors.
It's the simple things that often take the longest to find. Sorry for the false alarm.
Manolo:
Since several nighties, C::B flickes on the task bar when it starts. See attached gif (the smallest I could create).
Windows 10 1803 (17134.523)
BlueHazzard:
--- Quote from: delphi13 on February 06, 2019, 06:36:36 pm ---If you're open to process improvements, perhaps an error could be added to Code::Blocks if the command line --target doesn't match any of the build target names in the project. Currently it displays "Nothing to be done (all items are up-to-date)." which is not the most helpful thing when trying to debug human errors.
--- End quote ---
a ticket only for you: https://sourceforge.net/p/codeblocks/tickets/796/ ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version