Bug #18929 2013-03-12 00:04

cellulose

Custom makefile command fails to execute (C::B 12.11)

Instructions to replicate:

Under Windows, start a new Code::Blocks project. (I'm using version 12.11; didn't see anything newer in the nightlies.)

Set it up as a custom makefile project with an execution directory specified.

Under [build options / "make" commands], set a trivial command like "dir" for the "build project/target" command. An actual makefile command should have the same effect, but of course involves a bit more setup time.

Attempt to compile. Output will resemble the following:

|Running command: dir

|Execution of 'dir' in 'C:\Projects\Code\makefiletest' failed.

|Nothing to be done (all items are up-to-date).

Pre- and post-build steps fail similarly.

Category
Application::Error
Group
Platform:Windows
Status
Closed
Close date
2013-03-22 00:21
Assigned to
alpha0010
cellulose 2013-03-12 00:15

It's possible this is an error on my system as I'm getting the same symptoms from my older C::B nightly, which previously worked. Investigating.

alpha0010 2013-03-22 00:21

Not a bug -> issue with Windows shell. Prefix commands with:

cmd /c

See: http://forums.codeblocks.org/index.php/topic,17635.0.html