[Cmake] bcbx problems
Sam Izzo
sam at invarion.com
Mon, 19 Jan 2004 11:19:41 +1100
Hi
Are there known problems using CMake with Borland C++ BuilderX? The
compiler is just another version of Borland's standard compiler (the
command-line options are the same as the free Borland tools and also
BCB5/6). I'm having troubles compiling a package called wxArt2D
(http://wxart2d.sf.net) which uses CMake. The generated makefiles seem
to be missing some things. It generates lines like this:
#---------------------------------------------------------
# object file
#
wx.res: c:\wxWindows\include\wx\msw\wx.rc
ARGS=
There's a dependency there but no line specifying how to compile the
resource. Also it generates link lines using bcc32.exe (rather than
ilink32.exe) and passes in everything: all .obj files and .res (compiled
resource) files. bcc32 doesn't like this as it thinks that the .res
file is a source file and tries to compile it. Are these problems with
the wxArt2D package CMake configuration files, or is this a CMake
problem? The plaform file doesn't seem to include a line specifying
CMAKE_COMPILE_RESOURCE..
thanks
sam