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
_______________________________________________
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

Reply via email to