search for: git_execut

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

2014 May 13
2
[LLVMdev] [PATCH] CMake add_version_info_from_vcs SVN_REPOSITORY
..._SCOPE) set(result "${result}-r${Project_WC_REVISION}") endif() endif() elseif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git ) set(result "${result}git") - # Try to get a ref-id - if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/svn ) - find_program(git_executable NAMES git git.exe git.cmd) - if( git_executable ) + find_program(git_executable NAMES git git.exe git.cmd) + if( git_executable ) + # Try to get a ref-id + if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git/svn ) set(is_git_svn_rev_exact false) execute_process(CO...