Alexander Neundorf wrote:
On Thursday 03 September 2009, John Smith wrote:
It seems that CHECK_CXX_SOURCE_COMPILES attempts to link the object
files into an executable:
Yes. Sometimes having it only compile but not link would be nice, but that's
not the case.
So, this is not by design, instead it is an artifact of the implementation?
You can specifiy libraries to link to, so it should be possible to get it
linking.
That is true. But what is the obstacle to implementing the macro such
that it just does compilation (as the name suggests) and not compilation
and linking?
Thanks!
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake