On 01/20/2015 12:26 PM, Daniel Levin wrote: > As far as I understand this 'env' is not a standard key in Ninja, right? > That would be actually great to let CMake define environment variables in > rules. > Does CMake support that already? > What about Makefile compatibility, is it possible to define env variables per > rule in Makefiles?
There is no model for specifying environment variables as part of build rules. We expect that environment variables required by the toolchain in use are already loaded. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
