1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- //
- // libusb Xcode configuration file
- // Copyright © 2012 Pete Batard <pete@akeo.ie>
- // For more information, please visit: <http://libusb.info>
- //
- // This library is free software; you can redistribute it and/or
- // modify it under the terms of the GNU Lesser General Public
- // License as published by the Free Software Foundation; either
- // version 2.1 of the License, or (at your option) any later version.
- //
- // This library is distributed in the hope that it will be useful,
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- // Lesser General Public License for more details.
- //
- // You should have received a copy of the GNU Lesser General Public
- // License along with this library; if not, write to the Free Software
- // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- // Use GNU11 dialect.
- GCC_C_LANGUAGE_STANDARD = gnu11
- // Don't search user paths with <> style #includes.
- ALWAYS_SEARCH_USER_PATHS = NO
- // Enable weak references for Objective-C
- CLANG_ENABLE_OBJC_WEAK = YES
- // Compiler errors.
- GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES
- // Compiler warnings.
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES
- GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES
- GCC_WARN_ABOUT_MISSING_NEWLINE = YES
- GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
- GCC_WARN_ABOUT_RETURN_TYPE = YES
- GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES
- GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES
- GCC_WARN_SHADOW = YES
- GCC_WARN_UNINITIALIZED_AUTOS = YES
- GCC_WARN_UNKNOWN_PRAGMAS = YES
- GCC_WARN_UNUSED_FUNCTION = YES
- GCC_WARN_UNUSED_LABEL = YES
- GCC_WARN_UNUSED_PARAMETER = YES
- GCC_WARN_UNUSED_VARIABLE = YES
- CLANG_WARN_ASSIGN_ENUM = YES
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
- CLANG_WARN_BOOL_CONVERSION = YES
- CLANG_WARN_COMMA = YES
- CLANG_WARN_CONSTANT_CONVERSION = YES
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES
- CLANG_WARN_EMPTY_BODY = YES
- CLANG_WARN_ENUM_CONVERSION = YES
- CLANG_WARN_FLOAT_CONVERSION = YES
- CLANG_WARN_INFINITE_RECURSION = YES
- CLANG_WARN_INT_CONVERSION = YES
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
- CLANG_WARN_STRICT_PROTOTYPES = YES
- CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES
- // Static analyzer warnings.
- CLANG_ANALYZER_NONNULL = YES
- CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES
- CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES
|