[CMake] Using the Microsoft compiler with "Unix Makefiles"

Braden McDaniel braden at endoframe.com
Tue Jun 19 00:49:21 EDT 2012


Is it possible to use the Microsoft compiler (cl) with "Unix Makefiles"?

I found some older list postings that suggested it could work; however, 
setting CC, CXX, and CMAKE_CXX_COMPILER to "cl" doesn't do the trick. 
(It appears that the compiler doesn't like some of the flags used in the 
makefiles.)  Can this be made to work with modern CMake (2.8.7), or am I 
barking up the wrong tree?

Braden


More information about the CMake mailing list