Hello,
in an example i saw that CTEST_ENVIRONMENT is used to set specific paths.
I tried the same in my CTestScript, but this doesn't work. Can anybody explain me why variant 1 is working and variant 2 is not?
1.Variant:
set(ENV{QTDIR} "C:\\Qt")
set(ENV{PATH} "$ENV{QTDIR};$ENV{QTDIR}\\bin;$ENV{PATH}")
2.Variant:
set(CTEST_ENVIRONMENT "QTDIR=C:\\Qt"
"PATH=%QTDIR%\;%QTDIR%\\bin\;%PATH%"
)
Thanks in advance
Best Regards
NoRulez
in an example i saw that CTEST_ENVIRONMENT is used to set specific paths.
I tried the same in my CTestScript, but this doesn't work. Can anybody explain me why variant 1 is working and variant 2 is not?
1.Variant:
set(ENV{QTDIR} "C:\\Qt")
set(ENV{PATH} "$ENV{QTDIR};$ENV{QTDIR}\\bin;$ENV{PATH}")
2.Variant:
set(CTEST_ENVIRONMENT "QTDIR=C:\\Qt"
"PATH=%QTDIR%\;%QTDIR%\\bin\;%PATH%"
)
Thanks in advance
Best Regards
NoRulez
-- Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
