[CMake] GenerateExportHeader

Theodore Papadopoulo Theodore.Papadopoulo at inria.fr
Sat Mar 22 06:26:23 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

	I wonder why GenerateExportHeader is tied to the C++ compiler (by
using the check_cxx_* functions instead if their check_c_* variants).
As far as I can tell it would be better to just use the C compiler (or
a function that depends on C/CXX).

On linux/mac (at least with gcc), this does not seem to be a problem,
but on windows, C only projects (Visual Studio 11) choke on the
current GenerateExportHeader because there is no C++ compiler.

	Thank's

	Theo.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlMtZU8ACgkQEr8WrU8nPV0jUwCghWSZ1HcC44P83PhiusN9p7CQ
0UkAniK+sAo7vY5Q9dK45S0pYRDgw1V8
=FGem
-----END PGP SIGNATURE-----


More information about the CMake mailing list