The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15388 
====================================================================== 
Reported By:                Martin Beaudoin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15388
Category:                   CMake
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-02-03 12:55 EST
Last Modified:              2015-02-03 12:55 EST
====================================================================== 
Summary:                    CTEST_GIT_UPDATE_CUSTOM is not handled by
CTest.cmake
Description: 
It would be nice to be able to use the option CTEST_GIT_UPDATE_CUSTOM  from a
CMakeLists.txt file.

Right now, only the GIT_UPDATE_OPTIONS option is handled by the module
CTest.cmake. 
The option CTEST_GIT_UPDATE_CUSTOM is basically ignored by the module
CTest.cmake.

So one has to modify the DartConfiguration.tcl directly in order to specify a
GITUpdateCustom entry prior to invoke "make Nightly" or "make NightlyUpdate".

I am willing to work on/contribute a patch if you are interested by this useful
tweak.

Additional Information: 
The syntax one has to specify for the CTEST_GIT_UPDATE_CUSTOM option is also a
bit peculiar.

My "Custom GIT Update" command is simply : "/usr/bin/git merge origin/master" 

Still, here is the syntax one will need to use to set the proper value for
GITUpdateCustom in the DartConfiguration.tcl:

/usr/bin/git;merge;origin/master

I don't mind this compact syntax which is probably necessary in order to supply
a multi-token entry that will be recognized for the key/value syntax of the
DartConfiguration.tcl file. 

But if this information is ever taken from a CMakeLists.txt file, it would be
nice to support at this higher level a user-friendly syntax like this:

SET(CTEST_GIT_UPDATE_CUSTOM "/usr/bin/git merge origin/master" ....)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-02-03 12:55 Martin BeaudoinNew Issue                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to