Common.xcconfig 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //
  2. // Copyright (c) 2010-2015, Marcus Rohrmoser mobile Software
  3. // All rights reserved.
  4. //
  5. // Redistribution and use in source and binary forms, with or without modification, are permitted
  6. // provided that the following conditions are met:
  7. //
  8. // 1. Redistributions of source code must retain the above copyright notice, this list of conditions
  9. // and the following disclaimer.
  10. //
  11. // 2. The software must not be used for military or intelligence or related purposes nor
  12. // anything that's in conflict with human rights as declared in http://www.un.org/en/documents/udhr/ .
  13. //
  14. // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
  15. // IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  16. // FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
  17. // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  18. // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  19. // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
  20. // IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
  21. // THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  22. //
  23. SDKROOT = iphoneos
  24. ONLY_ACTIVE_ARCH = NO
  25. VALIDATE_PRODUCT = YES
  26. COPY_PHASE_STRIP = YES
  27. IPHONEOS_DEPLOYMENT_TARGET = 5.0
  28. ALWAYS_SEARCH_USER_PATHS = NO
  29. OTHER_CFLAGS = $(inherited) -Wno-language-extension-token -Wno-gnu-statement-expression -Wno-gnu-zero-variadic-macro-arguments -Wno-empty-translation-unit
  30. GCC_C_LANGUAGE_STANDARD = gnu99
  31. CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
  32. CLANG_CXX_LIBRARY = libc++
  33. CLANG_ENABLE_OBJC_ARC = YES
  34. CLANG_WARN_EMPTY_BODY = YES
  35. CLANG_WARN_CONSTANT_CONVERSION = YES
  36. CLANG_WARN_ENUM_CONVERSION = YES
  37. CLANG_WARN_INT_CONVERSION = YES
  38. GCC_WARN_ABOUT_RETURN_TYPE = YES
  39. GCC_WARN_UNINITIALIZED_AUTOS = YES
  40. GCC_WARN_UNUSED_VARIABLE = YES
  41. CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
  42. GCC_WARN_PEDANTIC = YES