llvm.org GIT mirror llvm / 9f81703
CMake: target triple for MSVC on Windows 64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78753 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 10 years ago
1 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
22
33 function( get_target_triple var )
44 if( MSVC )
5 set( ${var} "i686-pc-win32" PARENT_SCOPE )
5 if( CMAKE_CL_64 )
6 set( ${var} "x86_64-pc-win32" PARENT_SCOPE )
7 else()
8 set( ${var} "i686-pc-win32" PARENT_SCOPE )
9 endif()
610 else( MSVC )
711 set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
812 execute_process(COMMAND sh ${config_guess}