aboutsummaryrefslogtreecommitdiffstats
path: root/build/internal/platform/macos_sdk/ya.make
blob: f80ecb6677ef1670502dd347eb5662ca2a28c4bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
RESOURCES_LIBRARY()

# macOS 14.2 Sonoma SDK / Xcode 15.1 (15C65)
DECLARE_EXTERNAL_RESOURCE(MACOS_SDK sbr:6121515192)

IF (USE_STL_SYSTEM)
    SET(__XCODE_RESOURCE_NAME CPP_XCODE_TOOLCHAIN_ROOT)
    SET(__XCODE_TOOLCHAIN_VERSION ${CPP_XCODE_TOOLCHAIN_VERSION})
    INCLUDE(${ARCADIA_ROOT}/build/platform/xcode/ya.make.inc)
    CFLAGS(
        GLOBAL -isystem$MACOS_SDK_RESOURCE_GLOBAL/usr/include/c++/v1
        GLOBAL -F$MACOS_SDK_RESOURCE_GLOBAL/System/Library/Frameworks
    )
    LDFLAGS(
        -F$MACOS_SDK_RESOURCE_GLOBAL/System/Library/Frameworks
    )
ENDIF()

END()