[CMake] Autotools->CMake build error

Kornel Benko kornel at lyx.org
Thu Aug 28 17:07:02 EDT 2014


Am Donnerstag, 28. August 2014 um 15:47:06, schrieb Richard Shaw <hobbes1069 at gmail.com>
> On Thu, Aug 28, 2014 at 3:39 PM, Kornel Benko <kornel at lyx.org> wrote:
> 
> > You use '-DHAVE_CONFIG_H', this means probably generated 'config.h'.
> > Differences between generation of this file of automake/cmake?
> >
> > Could be but I think I found most of those. I tried browsing through the
> code and I didn't see any #if's that would affect what code is built but I
> can check again.

If your compiler is g++, you could try '-g3 -E' options to create preprocessed output.

E.g.:
	# cd /home/build/tmp/build_fldigi/src
	# g++ -g3 -E -DHAVE_CONFIG_H ... /home/build/git/fldigi/src/widgets/FTextRXTX.cxx > FTextRXTX.i


> 
> Thanks,
> Richard

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140828/0947067f/attachment.sig>


More information about the CMake mailing list