[CMake] error using ctest_configure in a ctest script

Tyler Roscoe tyler at cryptio.net
Mon Apr 12 13:52:53 EDT 2010


On Mon, Apr 12, 2010 at 01:15:11PM -0400, Zou, Di (Cont, ARL/CISD) wrote:
> I replaced:
> ctest_configure(OPTIONS "-C ~/NetDMF_CMake_Config")
> with:
> ctest_configure(OPTIONS "-C $ENV{HOME}/NetDMF_CMake_Config")
> 
> I get the same error:
> Configure Command:"/usr/cta/CSE/Release/cmake-2.8.0.5/bin/cmake" "-C /home/dizou/NetDMF_CMake_Config" "-GUnix Makefiles" "/home/dizou/NetDMF_KD"
> 
> Configure Return Value:1
> 
> Configure Output:
> 
> loading initial cache file  /home/dizou/NetDMF_CMake_Config
> CMake Error: Error processing file: /home/dizou/NetDMF_CMake_Config
> 
> The configure command does not work from the terminal window either.

Is your cache file corrupt? How did you create it? Can you let CMake
create a new clean cache for you to see if that gets you beyond this
error?

tyler


More information about the CMake mailing list