llvm.org GIT mirror llvm / c23a8d1
CMake: Discriminate MINGW, MSYS, CYGWIN: does not try to build llvm-config under mingw without msys. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79202 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 10 years ago
2 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
77 else()
88 set( ${var} "i686-pc-win32" PARENT_SCOPE )
99 endif()
10 elseif( MINGW AND NOT MSYS )
11 set( ${var} "i686-pc-mingw32" PARENT_SCOPE )
1012 else( MSVC )
1113 set(config_guess ${LLVM_MAIN_SRC_DIR}/autoconf/config.guess)
1214 execute_process(COMMAND sh ${config_guess}
11 # large and three small executables. This is done to minimize memory load
22 # in parallel builds. Please retain this ordering.
33
4 if( NOT MSVC )
4 if( NOT WIN32 OR MSYS OR CYGWIN )
55 # It is useful to build llvm-config before the other tools, so we
66 # have a fresh LibDeps.txt for regenerating the hard-coded library
77 # dependencies. llvm-config/CMakeLists.txt takes care of this but we