blob: c183fc51fffc1e443f52f8c04ec1738c2019a6a3 [file] [log] [blame]
//===-- Version.xcconfig --------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2018 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
// Define the C API version
//
// See products/libllbuild/include/llbuild/llbuild.h for version history
LLBUILD_C_API_VERSION = 6
// We define both the version value and a named version. The latter is useful
// in Swift conditional compilation, where we don't currently have the ability
// to do more complex numeric comparisons.
LLBUILD_VERSION_DEFINITIONS = LLBUILD_C_API_VERSION=$(LLBUILD_C_API_VERSION) LLBUILD_C_API_VERSION_$(LLBUILD_C_API_VERSION)
LLBUILD_SWIFT_VERSION_DEFINITIONS = LLBUILD_C_API_VERSION_$(LLBUILD_C_API_VERSION)