llvm.org GIT mirror llvm / 36d946d
[CMake] Add variable IOS to iOS toolchain This is useful for some edge cases where detecting things gets tricky. Specifically LLDB needs this to support iOS because CMake doesn't support running tests using obj-c code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295392 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 3 years ago
1 changed file(s) with 1 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
33 SET(CMAKE_SYSTEM_VERSION 13)
44 SET(CMAKE_CXX_COMPILER_WORKS True)
55 SET(CMAKE_C_COMPILER_WORKS True)
6 SET(IOS True)
67
78 if(NOT CMAKE_OSX_SYSROOT)
89 execute_process(COMMAND xcodebuild -version -sdk iphoneos Path