Merge topic 'apple-CoreFoundation-headers'

d736dafa22 Merge branch 'backport-3.31-apple-CoreFoundation-headers'
42390e7aa2 Source: Include specific CoreFoundation headers instead of umbrella header
14ffd1cc4e cmXCodeObject: Drop unused CoreFoundation header

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10616
This commit is contained in:
Brad King
2025-04-09 13:08:17 +00:00
committed by Kitware Robot
4 changed files with 9 additions and 5 deletions

View File

@@ -10,7 +10,8 @@
#include <cm/string_view>
#include <cmext/string_view>
#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFLocale.h>
#include <CoreFoundation/CFString.h>
#include <cm3p/kwiml/abi.h>
#include "cmsys/Base64.h"

View File

@@ -18,7 +18,9 @@
class cmExecutionStatus;
#if defined(__APPLE__)
# include <CoreFoundation/CoreFoundation.h>
# include <CoreFoundation/CFBundle.h>
# include <CoreFoundation/CFString.h>
# include <CoreFoundation/CFURL.h>
#endif
struct cmFindProgramHelper

View File

@@ -58,7 +58,10 @@
#include "cmake.h"
#if !defined(CMAKE_BOOTSTRAP) && defined(__APPLE__)
# include <CoreFoundation/CoreFoundation.h>
# include <CoreFoundation/CFBundle.h>
# include <CoreFoundation/CFString.h>
# include <CoreFoundation/CFURL.h>
# include <CoreFoundation/CFUUID.h>
# if !TARGET_OS_IPHONE
# define HAVE_APPLICATION_SERVICES
# include <ApplicationServices/ApplicationServices.h>

View File

@@ -6,8 +6,6 @@
#include <cmext/string_view>
#include <CoreFoundation/CoreFoundation.h>
char const* cmXCodeObject::PBXTypeNames[] = {
/* clang-format needs this comment to break after the opening brace */
"PBXGroup",