[CMake] Question about Project.xml file when using subprojects
Zou, Di (Cont, ARL/CISD)
di.zou at us.army.mil
Mon Mar 7 16:32:55 EST 2011
I have been looking at this webpage: http://www.kitware.com/products/html/CDashSubprojects.html. I have created a Project.xml file to list my subprojects. Right now I am just trying to use Project.xml to add subprojects to a dashboard. I am trying to submit the file to the dashboard like so:
#Stuff
ctest_submit(FILES "${CTEST_BINARY_DIRECTORY}/Project.xml")
#Stuff
ctest_update()
ctest_configure()
ctest_submit(PARTS Update Configure)
ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}")
I am getting this error:
Cannot create directory /Testing/Temporary
Cannot create log file: LastSubmit.log
Error when uploading file: /home/dizou/build_dir/Project.xml
Error message was: Couldn't resolve host ''
Problems when submitting via HTTP
If I comment out "ctest_submit(FILES "${CTEST_BINARY_DIRECTORY}/Project.xml")", everything gets submitted to the dashboard ok.
Am I putting Project.xml in the wrong directory? Should I be putting the command in a seperate script?
Thanks for the help.
Lockheed Martin / ARL CISD
Aberdeen Proving Ground, MD 21005
Phone: 410-278-7751
Email: di.zou at us.army.mil
More information about the CMake
mailing list