User forums > General (but related to Code::Blocks)

Build project with custom Makefile under windows

(1/3) > >>

passingby:
Build project with custom Makefile under windows will end with a error message like "no rule to build target 'cmd.'.
This error stop the debuger.

I think this is related to Rev 7895.

It can be fixed by deleting the string "+ _T(" > $(CMD_NULL)")" in /trunk/src/plugins/compilergcc/compileroptionsdlg.cpp, which inctruduce in Rev 7895.

system: Windows XP
TDM gcc 4.6.1.
REV 7944.
CMake 2.8.7 (the custom Makefile is generated by camke).

PS
Is there any plan to improve the Cmake support? Such as native project file gnerator (not Makefile).

oBFusCATed:

--- Quote from: passingby on April 26, 2012, 06:36:59 pm ---Is there any plan to improve the Cmake support? Such as native project file gnerator (not Makefile).

--- End quote ---
This is a question you have to ask in a CMake support channel (irc/mailing list/bug tracker).
I doubt any of the developers here has done any work on the CMake support.

jarod42:
Note that Premake is able to generate native CB projects.

MortenMacFly:

--- Quote from: jarod42 on April 27, 2012, 10:02:12 am ---Note that Premake is able to generate native CB projects.

--- End quote ---
...and I believe there was also a premake plugin that did the opposite.

passingby:
Thanks for the reply about the Cmake part.

But Cmake is much widely used by project like OpenCV and ibus.

Is anyone encounter the same problem about build project with custom Makefile generated by Cmake?

The error will stop the debuger to start (target is successfully generated).

Navigation

[0] Message Index

[#] Next page

Go to full version