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...


--
Steven

On 12/30/07, Alexander Neundorf <[EMAIL PROTECTED]> wrote:
> On Saturday 29 December 2007, Steven Van Ingelgem 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 ;-).
>
> Here is a short introduction on how assembler works with cmake, ask if you
> have questions.
>
> Are you using nmake or MSVC ?
> If you are using nmake, cl will be found via PATH, i.e. you have to run it
> from a prompt where the environment is set up correctly. This is done by
> running the MS supplied batch file. In this case also the assembler should be
> available via PATH.
>
> Alex
> _______________________________________________
> CMake mailing list
> CMake@cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to