Re: [CMake] setting PYTHONPATH for test

2017-07-30 Thread Nils Gladitz
On 30.07.2017 03:22, Kris Thielemans wrote: Hi I’m trying to add to the PYTHONPATH for a test that uses Python. I do that using set_test_properties. When using the makefile generator, I need to add ${CMAKE_CURRENT_BINARY_DIR}. However, for Visual Studio I also need to add for instance

[CMake] setting PYTHONPATH for test

2017-07-29 Thread Kris Thielemans
Hi I'm trying to add to the PYTHONPATH for a test that uses Python. I do that using set_test_properties. When using the makefile generator, I need to add ${CMAKE_CURRENT_BINARY_DIR}. However, for Visual Studio I also need to add for instance ${CMAKE_CURRENT_BINARY_DIR}/Release. My current