Author Topic: "Commands Only" build target type?  (Read 6629 times)

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
"Commands Only" build target type?
« on: February 25, 2009, 10:36:49 pm »
Can anyone explain what this target type is for? (or supposed to do?)

Given the name "Commands Only", I was expecting it wouldn't be associated with "compiling" or "building" but just running a script or command (a "run target", if you will). That seems to be consistent with it not having an output filename or an execution working dir (although maybe it would be useful to specify a working dir for a command/script). However, it seems that I might be wrong, because "build options" are still available, and the "build command" is still available on the menu and in the toolbar.

Can anyone shed some light on this?

BTW, for projects that use interpreted languages, it would actually be useful to have targets that are "run only" (i.e. grey out all options associated with compiling and building)

EDIT: should have searched first http://forums.codeblocks.org/index.php/topic,8686.0.html -- not that it resolves the issue
« Last Edit: February 25, 2009, 10:52:37 pm by dmoore »