[CMake] Setting initial CMake cache in extended Ctest scripting

Bill Hoffman bill.hoffman at kitware.com
Thu Dec 18 07:32:11 EST 2008


Bartlett, Roscoe A wrote:
> Bill,
> 
> How do you set CTEST_DROP_SITE and CTEST_DROP_LOCATION in the extended Ctest script?   I don't see an example of that in the script you point to below.
> 
> Thanks,
> 

Usually those are in the projects CTestConfig.cmake file that goes in 
the root of the source tree.   However, I think you can just set them in 
the script like a regular CMake variable.

set(CTEST_DROP_SITE ...)
set(CTEST_DROP_LOCATION ...)
ctest_configure(...)

-Bill


More information about the CMake mailing list