David Cole wrote:
This is one of those things where you have to have the setting right
before any possible TRY_COMPILE actions in any CMakeLists files. It's
*conceptually* equivalent to changing the compiler.
What you tried by using -DCMAKE_AR should work if you start with an
empty binary tree. (And starting with an empty binary tree is a
reasonable thing to do when essentially everything needs to be rebuilt
anyway.)
Does that make sense?
This should go in the Platforms directory, in the intel compiler file.
Much like sun CC uses CC -ar to create archives.
-Bill
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake