[CMake] How to find out the compiler directory?

Alexander Neundorf a.neundorf-work at gmx.net
Sat Dec 29 14:02:02 EST 2007


On Saturday 29 December 2007, Steven Van Ingelgem wrote:
> I want to use "MASM" (ml64.exe on VS2005) to compile some files, but
> how can I find it's directory?
> If I know where the "cl.exe" is located it's the same directory +
> "/x86_64", but the variable "CMAKE_C_COMPILER" only contains "cl"
> (which is not in the path!).
>
> What would my options be here?

If cl.exe works without full path, then ml64.exe will probably work too 
without path.
CMake 2.4.x doesn't really support assembler, cmake cvs does.
Which one are you using ?

Alex


More information about the CMake mailing list