Updated Xcode templates
- The installation paths are no longer hard coded; cmake now configures them so that Frameworks and libs can be installed somewhere else. - No longer copy sndfile.framework but instead copy the new dependencies of the audio module. - No longer copy .DS_Store to the install directory.
This commit is contained in:
parent
599a16b1f2
commit
e22bb627c7
2 changed files with 25 additions and 13 deletions
|
@ -330,13 +330,17 @@ elseif(SFML_OS_MACOSX)
|
|||
|
||||
# install the Xcode templates if requested
|
||||
if(SFML_INSTALL_XCODE_TEMPLATES)
|
||||
configure_file(
|
||||
"tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/tools/xcode/templates/SFML/SFML Compiler.xctemplate/TemplateInfo.plist"
|
||||
@ONLY)
|
||||
# configure the templates plist files
|
||||
foreach(TEMPLATE "SFML Compiler" "SFML App")
|
||||
configure_file(
|
||||
"tools/xcode/templates/SFML/${TEMPLATE}.xctemplate/TemplateInfo.plist.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/tools/xcode/templates/SFML/${TEMPLATE}.xctemplate/TemplateInfo.plist"
|
||||
@ONLY)
|
||||
endforeach()
|
||||
install(DIRECTORY "tools/xcode/templates/SFML" "${CMAKE_CURRENT_BINARY_DIR}/tools/xcode/templates/SFML"
|
||||
DESTINATION /Library/Developer/Xcode/Templates
|
||||
PATTERN "*.in" EXCLUDE)
|
||||
PATTERN "*.in" EXCLUDE
|
||||
PATTERN ".DS_Store" EXCLUDE)
|
||||
endif()
|
||||
|
||||
elseif(SFML_OS_IOS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue