[CMake] error using ctest_configure in a ctest script
Tyler Roscoe
tyler at cryptio.net
Mon Apr 12 12:26:04 EDT 2010
On Mon, Apr 12, 2010 at 12:11:54PM -0400, Zou, Di (Cont, ARL/CISD) wrote:
> I have this line in my ctest script:
> ctest_configure(OPTIONS "-C ~/NetDMF_CMake_Config")
>
> At the dashboard, this is the error I get:
> Build Name:build-linux-c++
>
> Configure Command:"/usr/cta/CSE/Release/cmake-2.8.0.5/bin/cmake" "-C ~/NetDMF_CMake_Config" "-GUnix Makefiles" "~/NetDMF_KD"
>
> Configure Return Value:1
>
> Configure Output:
>
> loading initial cache file ~/NetDMF_CMake_Config
> CMake Error: Error processing file: ~/NetDMF_CMake_Config
'~' meaning your home dir is evaluated by your shell. Most non-shell
tools don't understand what it means.
Try using an absolute path (/home/di.zou) or the $HOME environment
variable ($ENV{HOME} in CTest land).
tyler
More information about the CMake
mailing list