search for: git_output

Displaying 1 result from an estimated 1 matches for "git_output".

2014 May 13
2
[LLVMdev] [PATCH] CMake add_version_info_from_vcs SVN_REPOSITORY
...t(git_svn_rev "-svn-${git_svn_rev}") - + # Get repository URL + execute_process(COMMAND ${git_executable} svn info --url + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + TIMEOUT 5 + RESULT_VARIABLE git_result + OUTPUT_VARIABLE git_output) + if( git_result EQUAL 0 ) + string(STRIP "${git_output}" git_svn_info_url) + set(SVN_REPOSITORY ${git_svn_info_url} PARENT_SCOPE) + endif() # Determine if the HEAD points directly at a subversion revision. execute_process(COM...