Files
Pablo Brizuela Guardado e7542ef4c7 Changed the Swift compiler optimization level
Summary: This will allow us to use the debugger and see Swift variables when in debug mode while maintaining compiler optimizations for release mode

Reviewed By: samodom

Differential Revision: D39187042

fbshipit-source-id: 289e12d4202c5226c41d65cd3c781d6ac2d5986e
2022-09-01 12:58:24 -07:00

28 lines
557 B
Plaintext

// Copyright (c) Meta Platforms, Inc. and affiliates.
// All rights reserved.
//
// This source code is licensed under the license found in the
// LICENSE file in the root directory of this source tree.
#include "../Common.xcconfig"
// Architectures
ONLY_ACTIVE_ARCH = YES
// Deployment
COPY_PHASE_STRIP = NO
// Code Generation
GCC_OPTIMIZATION_LEVEL = 0
// Preprocessor
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited)
// Swift Testability
ENABLE_TESTABILITY = YES
// MTL
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE
SWIFT_OPTIMIZATION_LEVEL = -Onone