I am trying to configure, build, and then submit test results to a dashboard 
with a ctest script.

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

I can manually at the terminal window configure successfully using these 
commands:
/usr/cta/CSE/Release/cmake-2.8.0.5/bin/cmake -C ~/NetDMF_CMake_Config "-GUnix 
Makefiles" ~/NetDMF_KD
"/usr/cta/CSE/Release/cmake-2.8.0.5/bin/cmake" "-C" "~/NetDMF_CMake_Config" 
"~/NetDMF_KD"
/usr/cta/CSE/Release/cmake-2.8.0.5/bin/cmake -C ~/NetDMF_CMake_Config 
~/NetDMF_KD
cmake -C ~/NetDMF_CMake_Config ~/NetDMF_KD

This command manually:
"/usr/cta/CSE/Release/cmake-2.8.0.5/bin/cmake" "-C ~/NetDMF_CMake_Config" 
"-GUnix Makefiles" "~/NetDMF_KD"
gives me this error:
loading initial cache file  ~/NetDMF_CMake_Config
CMake Error: Error processing file: ~/NetDMF_CMake_Config
 -- Configuring incomplete, errors occurred!

Also I tried this:
ctest_configure(OPTIONS "-C" "~/NetDMF_CMake_Config")
in my script and that gives me this error when I run the script:
CMake Error at NetDMF_CTest_Script.cmake:35 (ctest_configure):
   ctest_configure called with unknown argument
   "~/NetDMF_CMake_Config".
_______________________________________________
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