···11project(frameworks)
2233if (COMPONENT_system)
44+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "system")
55+46 # for memberd
57 add_subdirectory(DirectoryServices)
68endif()
···810# this is mainly for frameworks that are required for Security,
911# since Security is built for both CLI and GUI
1012if (COMPONENT_cli OR COMPONENT_dev_gui_common)
1313+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "cli_gui_common")
1414+1115 add_subdirectory(CoreServices)
12161317 # these are also stubs, but they're needed for Security
···2731endif()
28322933if (COMPONENT_iokitd OR COMPONENT_dev_gui_common)
3434+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "iokitd_cli_dev_gui_common")
3535+3036 # this is for iokitd (and Xcode)
3137 add_subdirectory(IOSurface)
3238endif()
33393440# this is mainly for anything that Xcode requires to run on the CLI
3541if (COMPONENT_dev_gui_common)
4242+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "cli_dev_gui_common")
4343+3644 add_subdirectory(ApplicationServices)
3745 add_subdirectory(ColorSync)
3846 add_subdirectory(Carbon)
···44524553# same here, except this is for stubs that Xcode needs
4654if (COMPONENT_dev_gui_stubs_common)
5555+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "cli_dev_gui_stubs_common")
5656+4757 add_subdirectory(Accelerate)
4858 add_subdirectory(AVFoundation)
4959 add_subdirectory(Contacts)
···61716272# this is for core GUI frameworks with actual implementations
6373if (COMPONENT_gui)
7474+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "gui")
7575+6476 add_subdirectory(OpenGL)
6577 add_subdirectory(ImageIO)
6678endif()
67796880# this is for all the other stubbed frameworks
6981if (COMPONENT_gui_stubs)
8282+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "gui_stubs")
8383+7084 add_subdirectory(AddressBook)
7185 add_subdirectory(AGL)
7286 add_subdirectory(AuthenticationServices)
···121135122136#if (COMPONENT_dev_gui_common AND NOT COMPONENT_webkit)
123137if (COMPONENT_dev_gui_common OR COMPONENT_webkit)
138138+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "cli_dev_gui_common")
139139+124140 # stub
125141 add_subdirectory(WebKit)
126142endif()
···130146# Darling packages; we need to build a package that has these stubs available to be able to install Darling for CLI development
131147# without GUI dependencies like X11.
132148if ((COMPONENT_cli_dev AND NOT COMPONENT_gui) OR COMPONENT_cli_dev_gui_stubs)
149149+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "cli_dev")
150150+133151 # if we're building the GUI components (i.e. Cocotron), don't install these stubs
134152 if (COMPONENT_gui)
135153 set(NO_INSTALL_ARG NO_INSTALL)
···33# this is mainly for frameworks that are required for Security,
44# since Security is built for both CLI and GUI
55if (COMPONENT_cli OR COMPONENT_dev_gui_common)
66+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "cli_gui_common")
77+68 # these are also stubs, but they're needed for Security
79 add_subdirectory(AppleFSCompression)
810 add_subdirectory(AppleSystemInfo)
···20222123# this is mainly for anything that Xcode requires to run on the CLI
2224if (COMPONENT_dev_gui_common)
2525+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "cli_dev_gui_common")
2626+2327 add_subdirectory(DebugSymbols)
2428endif()
25292630# same here, except this is for stubs that Xcode needs
2731if (COMPONENT_dev_gui_stubs_common)
3232+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "cli_dev_gui_stubs_common")
3333+2834 add_subdirectory(AppleSauce)
2935 add_subdirectory(AssetCacheServices)
3036 add_subdirectory(AssistantServices)
···54605561# this is for all the other stubbed frameworks
5662if (COMPONENT_gui_stubs)
6363+ set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "gui_stubs")
6464+5765 add_subdirectory(AssertionServices)
5866 add_subdirectory(Bom)
5967 add_subdirectory(CoreUtils)