It's because CMake get the values from the registry ;-). So it's not known in the command line, but it's known to CMake... As opposed to *NIX, Windows is not 100% (insert a lot of healthy sarcasm) command line oriented.
On 12/30/07, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > On Sunday 30 December 2007, Steven Van Ingelgem wrote: > > Very true indeed, but that was not the point of me asking the question. > > > > The point is that CMake knows somehow where the compiler is (it's not > > in the path), but it doesn't allow me to make use of that knowledge. > > > > For instance I want to use the assembler, but I (as a program) don't > > know where it is (I as a person do of course). I know it's in the same > > dir as "cl", but no variable tells me where "cl" is... > > I think cmake doesn't know. > Are you using the makefile generator or the MSVC generator ? > In both cases it's not required. > FIND_PRGRAM(CL_EXE cl) doesn't work ? > It should (otherwise the environment doesn't seem to be set up as required, > but I'm no expert on the Windows side). > > Alex > _______________________________________________ > CMake mailing list > [email protected] > http://www.cmake.org/mailman/listinfo/cmake > _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
