The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15312 ====================================================================== Reported By: Alan Scott Assigned To: ====================================================================== Project: CMake Issue ID: 15312 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2014-12-17 00:00 WAST Last Modified: 2014-12-17 00:00 WAST ====================================================================== Summary: setting CMAKE_AR doesn't work Description: >From a user (Dave K):
when using the intel compilers, you need to use their "ar" tool, xiar. The first issue is that the intel ar utility is not automatically recognized when the compiler is intel. The second issue is that setting the CMAKE_AR variable does not propagate to the CMakeFiles/<version>/CMakeCCompiler and CMakeCXXCompiler files (so it's effectively ignored) This becomes evident when using -ip and -ipo optimization flags (since they fail with static libraries linked with ar vs xiar) ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-12-17 00:00 Alan Scott New Issue ====================================================================== -- 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://public.kitware.com/mailman/listinfo/cmake-developers