[cmake-developers] GenerateExportHeader macro in CMake?
Stephen Kelly
steveire at gmail.com
Wed Jul 13 08:41:43 EDT 2011
Hi,
I've been working on my GenerateExportHeader macro described here:
http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/36664
The result is here:
https://gitorious.org/~steveire/cmake/steveires-
cmake/commit/a80318ae6a299f44de8597d4ee705278554b7a4a
The problem is that the unit tests don't pass because the try_compile is
done before building the libraries under test. By commenting out the
try_compile you can build the libraries, uncomment and the tests compile
again.
This seems to be intended behaviour of try_compile. Is there some
workaround?
I've so far only tried it on linux. It is still work in progress, but I will
test it on Windows too soon.
How do I get this into CMake? I understand that if it's in I have to
maintain it in the cmake git. Do I need to send a public ssh key somewhere?
Thanks,
Steve.
More information about the cmake-developers
mailing list