Hey guys,

This has been discussed a billion times, so I'll keep it short.

Problem: Some parts of the build requires a environment variable to be set
Solution: Several workarounds, use custom commands, wrapper scripts etc.

While the solution works fine for basic stuff, I have several toolchains etc
that requires environment variables to be installed for them to work.

Since I'm using cmake --build for all my building, I am thinking about
creating a new command in cmake that will store certain environment
variables in the cache, and if building using cmake --build, they will be
set before the build starts.

Any comments before I go and build this?

Cheers
-Johan
_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to