Brad King wrote: > You can take an approach similar to CMAKE_DETERMINE_COMPILER_ABI, > perhaps called CMAKE_DETERMINE_COMPILE_FEATURES, in order to do the > try_compile calls necessary to detect available features. We should > need just one such call per language, just as with the ABI.
I've implemented this and it is superior in several ways - There's less code duplication, more cohesion of related code, fewer area to expand when adding new features, and a log with all relevant information. As try_compile is much slower, I retained the more simple compile-only version for generators which can handle it. Thanks, Steve. -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
