Use the ENVIRONMENT property of your tests (see
https://cmake.org/cmake/help/v3.7/prop_test/ENVIRONMENT.html).
On 05/05/2017, 16:29, "CMake on behalf of Juan E. Sanchez"
wrote:
Hello,
It appears that when I invoke
It this possible to set for all tests as one line? This would require
changing dozens of tests.
Regards,
Juan
On 5/5/17 9:31 AM, CHEVRIER, Marc wrote:
Use the ENVIRONMENT property of your tests (see
https://cmake.org/cmake/help/v3.7/prop_test/ENVIRONMENT.html).
On 05/05/2017, 16:29,
Hello,
It appears that when I invoke ctest through cmake, the environment
variables I export from my bash shell are being ignored:
DYLD_INSERT_LIBRARIES
PATH
Is there a way to tell cmake to pass the user environment all the way
down to the environment for my tested application.
This is on