On 22. März 2014 11:26:23 MEZ, Theodore Papadopoulo <[email protected]> wrote: >-----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).
It should actually act on the enabled languages, not a hardcoded one. You can find a fixed version at https://gitorious.org/openobex/mainline/source/2e1c0fc5a8f5e41886141a6b402d00db735ccf49:CMakeModules/GenerateExportHeader.cmake >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----- -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
