[CMake] How to find out the compiler directory?

Steven Van Ingelgem steven at vaningelgem.be
Sat Dec 29 14:06:22 EST 2007


I'm using the CVS version.

"cl" is unknown in my environment (not defined by the %PATH%
variable), so CMake will probably get it from the registry.

But I want to use the path that CMake found already inside my
CMakeList.txt, not search it again ;-).



On 12/29/07, Steven Van Ingelgem <steven at vaningelgem.be> wrote:
> I'm using the CVS version.
>
> "cl" is unknown in my environment (not defined by the %PATH%
> variable), so CMake will probably get it from the registry.
>
> But I want to use the path that CMake found already inside my
> CMakeList.txt, not search it again ;-).
>
>
> On 12/29/07, Alexander Neundorf <a.neundorf-work at gmx.net> wrote:
> > 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
> > _______________________________________________
> > CMake mailing list
> > CMake at cmake.org
> > http://www.cmake.org/mailman/listinfo/cmake
> >
>


More information about the CMake mailing list