summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Add Xcode SYMROOT setting for custom targetsBrad King2009-09-231-3/+4
| | | | | | | | | Xcode 1.5 writes helper scripts at the projectDirPath location for targets that do not set SYMROOT. We now add SYMROOT to custom targets so that all targets set it. This prevents Xcode 1.5 from touching the source directory now that we always set projectDirPath. See issue #8481.
* Teach Xcode generator to set XCODE_VERSIONBrad King2009-09-231-7/+16
| | | | | We set the variable 'XCODE_VERSION' in the CMake language to the Xcode version string (e.g. "3.1.2"). Platform config files may use it later.
* Fix Xcode project references to the source treeBrad King2009-09-221-56/+31
| | | | | | | | | | | | | Xcode project source file references need to always be relative to the top of the source tree in order for SCM and debug symbols to work right. We must even allow the relative paths to cross outside of the top source or build directories. For subdirectory project() command Xcode projects we use the source directory containing the project() command as the top. Relative paths are generated accordingly for each subproject. See issue #8481.
* Fix Bug #8332, add support for .pch files for Xcode.Bill Hoffman2009-09-211-1/+2
|
* Fix Bug #8928, add support for .xib files for Xcode.Bill Hoffman2009-09-211-0/+4
|
* Remove cmGlobalXCode21Generator subclassBrad King2009-09-191-12/+27
| | | | | | | This subclass of cmGlobalXCodeGenerator only provided two virtual method overrides, and it made construction of the Xcode generator instance complicated. This commit removes it and replaces the virtual methods with tests of the Xcode version. The change removes duplicate code.
* Fix the build for version 2.5 of Xcode.Bill Hoffman2009-09-181-0/+9
|
* Fix for bug #9466. Change the implementation of OSX arch lists. If no ↵Bill Hoffman2009-09-171-27/+27
| | | | ARCHs are specified by the user then no flags are set. We no longer use CMAKE_OSX_ARCHITECTURES_DEFAULT.
* Bug #8356, add support for image types in Xcode files.Bill Hoffman2009-09-141-0/+4
|
* Fix for bug #8807, add support for CMAKE_EXE_LINKER_FLAGS_(config) to Xcode ↵Bill Hoffman2009-09-141-0/+9
| | | | generator.
* Separate Xcode flag escaping code from definesBrad King2009-07-291-28/+69
| | | | | Generalize the core Xcode generator preprocessor flag escaping code to be useful for escaping all flags.
* Re-order cmGlobalXCodeGenerator implementationBrad King2009-07-291-51/+51
| | | | | This defines class cmGlobalXCodeGenerator::BuildObjectListOrString early in the source file so it can be used in more places.
* BUG: Additional fix necessary for issue #8481 so that Xcode builds do not ↵David Cole2009-07-241-0/+6
| | | | write files into the source tree. Also add a test that runs last to check for local modifications in CMake_SOURCE_DIR based on whether 'cvs -q -n up -dP' output is empty. Test fails on dashboard runs when there are local modifications. Test passes on non-dashboard runs with local modifications so that CMake developers may have mods when running the test locally.
* BUG: Fix issue #8481 - generate Xcode projects such that breakpoints may be ↵David Cole2009-07-221-3/+34
| | | | used from the Xcode debugger without adjusting any settings within the Xcode GUI first... Thanks to Doug Gregor for the patch.
* BUG: Fix Xcode linker languageBrad King2009-07-101-0/+57
| | | | | | | | | | Xcode does not seem to support direct requests for using the linker for a particular language. It always infers the linker using the languages in the source files. When no user source files compile with target's linker language we add one to help Xcode pick the linker. A typical use case is when a C executable links to a C++ archive. The executable has no C++ source files but we need to use the C++ linker.