summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fix-12377-xcode-honor-g0'David Cole2011-09-071-7/+28
|\ | | | | | | | | cb22afc Xcode: Honor -g0 to disable debugging (#12377)
| * Xcode: Honor -g0 to disable debugging (#12377)Johan Bjork2011-09-061-7/+28
| | | | | | | | | | | | This commit changes ExtractFlag to remove all occurences of a flag, and only save the last one. (i.e., the dominant one according to GCC rules)
* | Merge topic 'fix-12370-no-space-in-target-name'David Cole2011-09-071-1/+3
|\ \ | | | | | | | | | | | | e05e0f1 Xcode: No spaces in makefile target names (#12370)
| * | Xcode: No spaces in makefile target names (#12370)Johan Björk2011-09-051-1/+3
| |/ | | | | | | Don't use spaces for target names in the makefiles.
* | Merge topic 'fortran-format'David Cole2011-09-071-0/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | 90efed6 Xcode: Honor Fortran_FORMAT target and source file property 5c0c635 Fortran: Add support for free- and fixed-form flags 47a0c75 VS: Map Fortran free- and fixed-format flags to IDE options d6e2a06 VS: Map per-source Fortran flags to IDE options
| * | Xcode: Honor Fortran_FORMAT target and source file propertyBrad King2011-09-011-0/+22
| | | | | | | | | | | | | | | Convert the target property to the IFORT_LANG_SRCFMT build setting. Convert the source property to the per-source COMPILER_FLAGS setting.
* | | Merge topic 'fix-zero-check-mistake'David Cole2011-09-071-1/+2
|\ \ \ | |_|/ |/| | | | | | | | 57bc42a Xcode: Do not emit the ZERO_CHECK target more than once
| * | Xcode: Do not emit the ZERO_CHECK target more than onceJohan Bjork2011-09-011-1/+2
| |/
* | Merge topic 'fix-xcode4-test-failures'David Cole2011-09-011-1/+8
|\ \ | |/ |/| | | | | 0cf4fa5 Xcode4: Requires more quoting of single quote char
| * Xcode4: Requires more quoting of single quote charDavid Cole2011-08-251-1/+8
| | | | | | | | | | | | | | | | Specifically in per-target and per-file compiler definition string values. The Preprocessor test now passes on Xcode 4 builds after this commit.
* | Merge topic 'fix-11690-preserve-xcode-objectids'David Cole2011-08-251-2/+60
|\ \ | | | | | | | | | | | | 1834f23 Xcode: Save object id values in CMakeCache.txt (#11690)
| * | Xcode: Save object id values in CMakeCache.txt (#11690)David Cole2011-08-241-2/+60
| |/ | | | | | | | | | | | | | | | | For project and target objects, save their ids in CMakeCache.txt. Hopefully, that will be enough to allow user settings to be saved across multiple CMake generate operations. Other object types may also need their ids saved: if so, more code than this commit will be necessary...
* | Xcode: Remove PREBINDING attribute for Xcode 4 and aboveJohan Bjork2011-08-191-1/+1
|/ | | | | PREBINDING is obsolete in Xcode 4 and causes warnings if present. Do not emit it for Xcode >= 4.0
* Xcode: Rearrange CMakeReRun to enable parallel buildsJohan Björk2011-08-041-22/+23
| | | | | | by isolating the CMakeReRun steps to a ZERO_CHECK target, as in the Visual Studio generators. Also, honor the value of CMAKE_SUPPRESS_REGENERATION.
* Correct KWStyle line too long errorDavid Cole2011-07-191-1/+2
|
* Add use of EFFECTIVE_PLATFORM_NAME to generated Xcode projects.David Cole2011-07-181-7/+12
| | | | | Facilitates building iOS projects, enabling switching back and forth between simulator and device builds at development time.
* Merge topic 'xcode-source_groups-folders-issue-10039'Brad King2011-06-081-30/+87
|\ | | | | | | | | | | | | | | f09ba0f Fix style errors added by parent and grandparent eeeeca1 XCode: Support target folders on XCode. 59ed84e Xcode: Support multiple level nesting of XCode folders (#10039) d0a403f CMake: Move tokenize to cmSystemTools
| * Fix style errors added by parent and grandparentBrad King2011-06-081-3/+6
| |
| * XCode: Support target folders on XCode.Johan Björk2011-06-071-11/+39
| |
| * Xcode: Support multiple level nesting of XCode folders (#10039)Johan Björk2011-06-071-22/+48
| |
* | Xcode: Fix parallel build depends with universal binaries (#11844)Brad King2011-06-061-44/+56
| | | | | | | | | | | | | | | | A post-build phase of each target invokes the XCODE_DEPEND_HELPER.make file to erase any targets that link to it. Narrow the set of targets tested by each post-build phase to those that depend on the newly completed target. This avoids removing files from partially built unrelated targets that happen to be building in parallel.
* | Fix XCode -> Xcode typos, notably in man page (#12231)Sean McBride2011-05-311-4/+4
| |
* | Merge topic 'fix-8914-allow-config-types-override'Brad King2011-02-221-7/+10
|\ \ | | | | | | | | | | | | e6221ed Xcode: Allow override of CMAKE_CONFIGURATION_TYPES (#8914)
| * | Xcode: Allow override of CMAKE_CONFIGURATION_TYPES (#8914)David Cole2011-01-281-7/+10
| | |
* | | Merge topic 'fix-11295-support-plugin-bundles-on-mac'Brad King2011-02-221-7/+48
|\ \ \ | |_|/ |/| | | | | | | | | | | cabc407 CFBundle Test: Add PATHS for finding Rez (#11295) 5457b82 Add support for CFBundle targets on the Mac (#11295)
| * | Add support for CFBundle targets on the Mac (#11295)Richard Bateman2011-01-111-7/+48
| | | | | | | | | | | | | | | This commit enables building, for example, plugin bundles to be loaded by web browsers.
* | | Xcode: Fix crash: avoid strlen call on NULL char *David Cole2011-01-271-1/+1
| |/ |/| | | | | Thanks to Johan Björk for the report on the CMake mailing list.
* | Merge topic 'xcode-subdir-regen-dependencies'Brad King2011-01-191-3/+11
|\ \ | | | | | | | | | | | | 809ef30 Xcode: Make generation depend on all input directories
| * | Xcode: Make generation depend on all input directoriesBrad King2011-01-131-3/+11
| |/ | | | | | | | | | | | | | | Previously the Xcode generator would rerun CMake only if input file dependencies in the top-level directory changed. Teach it to depend on input files from all directories. Other generators already do this. Reported-by: Johan Björk <phb@spotify.com>
* | Xcode: Disable implicit make rules in custom rules makefiles.David Cole2011-01-111-0/+3
|/ | | | | | | With apologies to the suggester for not accenting the surname vowel properly. Suggested-By: Johan Bjork
* Merge topic 'custom-command-refactor'Brad King2010-12-211-25/+6
|\ | | | | | | | | | | | | | | 53ea8b3 Merge branch 'imported-target-dependencies' into custom-command-refactor 1a29cca Remove cmLocalGenerator::GetRealLocation 542b517 Factor out common custom command generator 6fe5b3d Simplify VS generator ConstructScript interface
| * Factor out common custom command generatorBrad King2010-12-081-25/+6
| | | | | | | | | | | | The Makefile, VS, and Xcode generators previously duplicated some custom command line generation code. Factor this out into a separate class cmCustomCommandGenerator shared by all generators.
* | Xcode: Generate native 3.2 projectsBrad King2010-12-171-2/+7
|/ | | | | Set objectVersion = 46; compatibilityVersion = "Xcode 3.2" when Xcode 3.2 is detected.
* Improve signature of cmLocalGenerator::GetRealDependencyBrad King2010-12-081-5/+7
| | | | Allow file-level custom command dependencies to be skipped.
* Xcode: Recognize .hh as C++ (#11307)Brad King2010-10-121-1/+1
|
* XCode generation should fail if lang isn't knownBen Boeckel2010-09-301-0/+10
|
* Remove trailing whitespace from Xcode generator sourceBrad King2010-09-291-172/+172
| | | | | | Reverting abandoned topic xcode_source_group_fix_7932 left this source slightly different due to trailing whitespace removal on some lines. Remove all trailing whitespace from the file to make it consistent.
* Xcode: Avoid trailing space in ARCHS list (#11244)Mikkel Krautz2010-09-201-1/+3
| | | | | | | | | | | With CMAKE_OSX_ARCHITECTURE settings such as $(ARCHS_STANDARD_32BIT), the space inserted by the for loop would confuse Xcode if quoted. In this particular example, what would be output would be: ARCHS = "$(ARCHS_STANDARD_32BIT) "; The Xcode UI does not recognize this as the built-in "Standards 32-bit" architecture setting unless the space is removed.
* No CMAKE_CONFIGURATION_TYPES in single-config generators (#10202)Brad King2010-09-081-18/+2
| | | | | | Factor out reading of CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE into cmMakefile::GetConfigurations. Read the former only in multi-config generators.
* Xcode: Archives use STATIC_LIBRARY_FLAGS, not LINK_FLAGSBrad King2010-05-281-3/+9
| | | | | | | The LINK_FLAGS property is defined only for targets that really link. These include executables and shared libraries. For static libraries we define the STATIC_LIBRARY_FLAGS property. Teach the Xcode generator to make this distinction.
* Preemptively fix line too long problem before tomorrow's dashboard has a ↵David Cole2010-02-121-3/+4
| | | | chance to complain about it.
* Fix for issue #9125 - invent CMAKE_XCODE_ATTRIBUTE_* variable mechanism. If ↵David Cole2010-02-121-0/+15
| | | | there are variables that begin with CMAKE_XCODE_ATTRIBUTE_ then add corresponding attributes into the generated Xcode project file.
* Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of ↵David Cole2009-12-041-0/+15
| | | | running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.
* Implement LINK_FLAGS_<CONFIG> property on XcodeBrad King2009-11-061-0/+10
| | | | See issue #9841.
* Fix Xcode <= 2.0 projects with CMAKE_BUILD_TYPEBrad King2009-10-281-1/+4
| | | | | The dependency-helper makefiles should not have per-configuration names for Xcode <= 2.0. Older Xcodes do not support multiple configurations.
* Keep Xcode intermediate files away from output dirBrad King2009-10-281-2/+14
| | | | | | | | | | | | Previously the Xcode generator set SYMROOT to be the target output directory. This told Xcode to put the "<proj>.build" directory in the output path too. This commit sets SYMROOT, CONFIGURATION_BUILD_DIR, and OBJROOT to put intermediate files in the build directory corresponding to the source directory that created each target. This is more consistent with the VS IDE generators. Now only the build output files (actual targets) go to the target output directory.
* Fix Xcode dylib version defaultBrad King2009-10-261-10/+10
| | | | | | | | | | The commit "Set version info for shared libs on OSX" taught the Xcode generator to honor VERSION and SOVERSION properties. However, it also set version '1.0.0' as the default when no version property is set, which is inconsistent with the Makefiles generator. This commit fixes the default to '0.0.0' for consistency. See issue #9773.
* Add Xcode file association for FortranBrad King2009-10-221-0/+4
| | | | | | | Intel Fortran on Mac OS X enables Fortran support in Xcode. This commit teaches CMake to associate Fortran sources properly in Xcode projects. See issue #9739.
* Define per-target OSX_ARCHITECTURES propertyBrad King2009-10-211-0/+28
| | | | | | | | | | | The CMAKE_OSX_ARCHITECTURES variable works only as a global setting. This commit defines target properties OSX_ARCHITECTURES OSX_ARCHITECTURES_<CONFIG> to specify OS X architectures on a per-target and per-configuration basis. See issue #8725.
* fix Xcode 30 generatorBill Hoffman2009-10-071-8/+8
|