set(CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY TRUE) project(XcodeGenerateTopLevelProjectOnly NONE) add_subdirectory(subproject_with_object_lib)