News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

CommandsOnly target

Started by BlueHazzard, January 27, 2021, 01:17:52 AM

Previous topic - Next topic

BlueHazzard

As described here: https://sourceforge.net/p/codeblocks/tickets/1056/
i have quite some problems understanding how command only target is intended to work...
Is someone out there that uses this build target?
Can someone explain to me how it is intended to work, because in the code is quite some mixture and i think it does not work as intended...


ollydbg

I use this kind of target to copy files, like update.bat.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

BlueHazzard

Can you post an example?
Do you use the pre/post build steps?
Do you use special variables in the command?

LETARTARE

here are some examples with Win?:
1- with compiler: for *.bat

2- no compiler : for documentation,...
CB-13834, plugins-sdk-2.25.0 : Collector-2.6.5, AddOnForQt-5.1.2
1- Win7 Business Pack1 64bits : wx-3.2.8, gcc-15.2.0,
2- OpenSuse::Leap-15.6-64bits : wx-3.2.8;gtk3-u, gcc-15.2.0,
=> !! The messages are translated by 'Deepl'