Ryan Pavlik wrote:
Hello -
This might help - from http://www.vtk.org/Wiki/CMake_Scripting_Of_CTest
# set any extra environment variables to use during the execution of the script
here:
SET (CTEST_ENVIRONMENT
)
\
You need quotes around the set:
Something like this works:
SET(TESTARG /path/to/whatever)
MESSAGE("TESTARG" ${TESTARG})
SET(ENV{PYTHONPATH} "$ENV{PYTHONPATH};TESTARG")
MESSAGE("PYTHONPATH:" $ENV{PYTHONPATH})
-Bill
--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
_______________________________________________
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