I just make a .bat file for the task scheduler that calls Visual Studio's .bat file for setting up the environment, then calls ctest.
Clint On Thursday 15 October 2009 11:45:09 am Dixon, Shane wrote: > I have a CTest script that I'd like to run nightly on a Windows XP machine. > If I run it from the "Visual Studio 2008 Command Prompt", it works fine. > If I run from a "Scheduled Task", it balks and says it can't find "cl", so > obviously the CTEST_ENVIRONMENT is wrong. > > Before I start disecting these vcvars32.bat script that sets all the > environment, has someone else already converted that .bat script that sets > the environment into something that I can use in Ctest? Is there a better > way to setup the Scheduled Task so that I don't have to set up the > environment in the first place? > > > -- > Shane Dixon > Linux Engineer > Atmel Corporation > > _______________________________________________ > 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 _______________________________________________ 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