I have a similar problem. I would like to build ITK usingthe Intel compiler for Visual studio platform. However when I chooose the platform Visual Studio on CMake, it uses the cc compiler by default, and not the intel one. If you change the CMAKE_CXX_COMPILER later it has no effect. I Know that on unix yo can solve it using
the environment variable CC.
What can I do from Windows?
Thanks

>>I would like to create a build tree for a project in
WindowsXP that uses
>>the intel compiler.  I don't see a intel in the list
provided by the
>>cmake gui but I gather from the list that using the intel
compiler is
>>done?  Which build system should I select and how do I
specify the
>>compiler?  Thanks for your help -- I am still learning CMake
but could
>>not find the answers in the CMake book or in the Wiki.  I
noted that on
>>Unix you can specify the compiler by setting the environment
variable
>>CC.  However, on Unix/Linux the build system is obvious.
>>-Todd




_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to