Hi David, Bill, Hmm, I must have made a mistake yesterday, I thought I started with a clean directory. Worked fine this morning.
Would be helpful to have the Intel compiler supported out of the box. However, I also found a flag (-ipo_obj) that allows the Intel Compiler to play nice with ar. -dan -----Original Message----- From: Bill Hoffman [mailto:[EMAIL PROTECTED] Sent: Friday, April 18, 2008 9:19 AM To: David Cole Cc: Blezek, Daniel J., Ph.D.; cmake@cmake.org Subject: Re: [CMake] Supporting the Intel Compiler -- building static libraries 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