From ea0364d568278e35c1b0df18b2561edfd725cb7f Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Sat, 17 May 2014 15:03:09 +0200 Subject: [PATCH] Renamed INSTALL_XCODE4_TEMPLATES to INSTALL_XCODE_TEMPLATES Templates are compatible with versions 4 and 5 of Xcode. --- CMakeLists.txt | 6 +++--- tools/xcode/templates/readme.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ed43c48c..286745f2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,8 +59,8 @@ if(SFML_OS_MACOSX) # add an option to let the user specify a custom directory for frameworks installation (SFML, sndfile, ...) sfml_set_option(CMAKE_INSTALL_FRAMEWORK_PREFIX "/Library/Frameworks" STRING "Frameworks installation directory") - # add an option to automatically install Xcode 4 templates - sfml_set_option(SFML_INSTALL_XCODE4_TEMPLATES FALSE BOOL "TRUE to automatically install the Xcode 4 templates, FALSE to do nothing about it") + # add an option to automatically install Xcode templates + sfml_set_option(SFML_INSTALL_XCODE_TEMPLATES FALSE BOOL "TRUE to automatically install the Xcode templates, FALSE to do nothing about it. The templates are compatible with Xcode 4 and 5.") endif() # Android options @@ -266,7 +266,7 @@ elseif(SFML_OS_MACOSX) install(DIRECTORY extlibs/libs-osx/Frameworks/freetype.framework DESTINATION ${CMAKE_INSTALL_FRAMEWORK_PREFIX}) # install the Xcode templates if requested - if(SFML_INSTALL_XCODE4_TEMPLATES) + if(SFML_INSTALL_XCODE_TEMPLATES) install(DIRECTORY tools/xcode/templates/SFML DESTINATION /Library/Developer/Xcode/Templates PATTERN "*.in" EXCLUDE) diff --git a/tools/xcode/templates/readme.txt b/tools/xcode/templates/readme.txt index 84e7f0fb6..ccc855934 100644 --- a/tools/xcode/templates/readme.txt +++ b/tools/xcode/templates/readme.txt @@ -49,7 +49,7 @@ You should also be familiar with Xcode. If needed checkout this document: http:/ Install ------- -If you are building SFML from sources you can set CMake's INSTALL_XCODE4_TEMPLATES variable to TRUE to install the templates automatically. +If you are building SFML from sources you can set CMake's INSTALL_XCODE_TEMPLATES variable to TRUE to install the templates automatically.