Skip to content
  • Brad King's avatar
    Xcode: Fix compiler id detection when code signing is required · b91020f6
    Brad King authored
    The iOS product type 'com.apple.package-type.bundle.unit-test' requires
    code signing on Xcode 6.  Other iOS target types do too.  Until CMake
    learns to add the CODE_SIGN_IDENTITY build attribute itself, toolchain
    files can set CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY to tell the Xcode
    generator to add the attribute.  Teach CMakeDetermineCompilerId to
    recognize this variable and add the CODE_SIGN_IDENTITY build attribute
    to the compiler id project.
    b91020f6