Xcode: Add team to compiler-id project

Closes #16839
This commit is contained in:
Gregor Jasny 2017-09-17 18:35:29 +02:00
parent 0be0e02cfb
commit 45e30d128c
2 changed files with 7 additions and 0 deletions

View File

@ -328,6 +328,12 @@ Id flags: ${testflags} ${CMAKE_${lang}_COMPILER_ID_FLAGS_ALWAYS}
else()
set(id_sdkroot "")
endif()
if(CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM)
set(id_development_team
"DEVELOPMENT_TEAM = \"${CMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM}\";")
else()
set(id_development_team "")
endif()
configure_file(${CMAKE_ROOT}/Modules/CompilerId/Xcode-3.pbxproj.in
${id_dir}/CompilerId${lang}.xcodeproj/project.pbxproj @ONLY)
unset(_ENV_MACOSX_DEPLOYMENT_TARGET)

View File

@ -72,6 +72,7 @@
1DEB928608733DD80010E9CD = {
isa = XCBuildConfiguration;
buildSettings = {
@id_development_team@
PRODUCT_NAME = CompilerId@id_lang@;
};
name = Debug;