Re: [CMake] Export environment variables in generated Makefile

2015-05-16 Thread Taylor Braun-Jones
On May 16, 2015 12:18 PM, "Dan Kegel" wrote: > Write a wrapper script that sets the variables and invokes the compiler, > and tell cmake that's your compiler. > Ya, I thought about this but aside from having an interceptor for an interceptor there are also other complexities like: (1) One of th

Re: [CMake] Export environment variables in generated Makefile

2015-05-16 Thread Dan Kegel
Write a wrapper script that sets the variables and invokes the compiler, and tell cmake that's your compiler. -- 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 communi

Re: [CMake] Export environment variables in generated Makefile

2015-05-16 Thread Taylor Braun-Jones
Here's a little more context to help understand the use case: I'm using the BullseyeCoverage as a compiler interceptor. So I have CMAKE_CXX_COMPILER=/opt/bullseye/bin/g++ Which is symlink that looks like this: /opt └── bullseye └── bin ├── covc └── g++ -> covc covc is the B