mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
- Remove code signing requirements for non-macOS - Do not set deployment target for non-macOS - Build static library for compiler feature detection for non-macOS - Use framework to run CompilerId tests for watchOS - Port tests to new SDK handling - Add new Apple cross-compiling section to toolchain documentation Closes: #17870
10 lines
238 B
CMake
10 lines
238 B
CMake
cmake_minimum_required(VERSION 2.8.5)
|
|
|
|
project(XcodeInstallIOS)
|
|
|
|
set(XCODE_ATTRIBUTE_CODE_SIGNING_REQUIRED "NO")
|
|
set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "NO")
|
|
|
|
add_library(foo STATIC foo.cpp)
|
|
install(TARGETS foo ARCHIVE DESTINATION lib)
|