summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Xcode: Invert quoting logic to whitelist of charactersGregor Jasny2015-08-051-1/+5
| | | | | | | Our explicit list of characters that require quoting does not account for non-ascii characters (e.g. UTF-8) that also need quoting. Invert the logic to quote a string unless it contains exclusively a set of characters we whitelist.
* Xcode: Quote strings containing a tilde (#15672)Gregor Jasny2015-07-311-1/+1
| | | | | | | | | Since commit v3.3.0-rc1~183^2 (Xcode: Refine quoting rules for Strings, 2015-04-09) we no longer quote strings containing a period ('.'). However, file names like "icon29x29~ipad.png" still need quoting because they contain a tilde ('~'). Add tilde to our explicit list of characters that need quoting because such file names will no longer happen to be quoted because they contain a period.
* Xcode: Refine quoting rules for StringsGregor Jasny2015-04-171-1/+1
| | | | | $ and . do not need to be quoted, but brackets and * must be to not confuse the Xcode parser.
* Xcode: Let PrintComment decide if the comment is non-emptyGregor Jasny2015-04-171-4/+1
|
* Xcode: PrintComment will prepend a whitespace itself before the commentGregor Jasny2015-04-171-3/+2
|
* Xcode: Do not add whitespace after attribute group opening braceGregor Jasny2015-04-171-1/+5
| | | | | | This suppresses the extra space that would be generated if the separator is a space. The conditional block is also used in this form elsewhere.
* Xcode: Properly indent PBXFileReference and PBXBuildFileGregor Jasny2015-04-171-1/+1
| | | | Move indent factor change behind indention of start-of-line.
* Xcode: Indent using tabsGregor Jasny2015-04-171-1/+1
|
* Xcode: Also quote strings containing // (#15487)Gregor Jasny2015-04-041-0/+1
| | | | | | Otherwise those will be interpreted as start of a comment Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-3/+3
| | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
* stringapi: Use strings for AddString methodsBen Boeckel2014-03-081-1/+1
| | | | It gets turned into a string anyways, so pass them in.
* Xcode: Each target dependency edge needs a unique object (#13935)Brad King2013-02-191-1/+0
| | | | | | | | | | | | | Generate a unique PBXTargetDependency and PBXContainerItemProxy for every edge in the dependency graph as required by the Xcode format. Xcode only accidentally loads project files that re-use the same PBXTargetDependency for every edge leading to a single target. If one is removed by hand in the IDE then Xcode may crash due to dangling references from the others. Since cmGlobalXCodeGenerator::AddDependTarget is called exactly once for every edge in the target dependency graph we do not need to keep track of which edges have been visited to avoid generating duplicates.
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-12/+12
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Xcode: Save object id values in CMakeCache.txt (#11690)David Cole2011-08-241-19/+21
| | | | | | | | | 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: Quote ',' in Xcode string values (#12259)Johan Björk2011-08-041-1/+1
|
* XCode: Also qoute [] as needed to set build-configurations.Johan Björk2011-04-071-10/+20
|
* Xcode: Quote string values containing '$' (#11244)Mikkel Krautz2010-09-201-1/+1
| | | | | Allow use of $(STANDARD_32BIT_ARCHS) as CMAKE_OSX_ARCHITECTURES. The expanded value must remain a single string.
* 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.
* ENH: Simplify string attributes in Xcode generatorBrad King2008-09-021-25/+33
| | | | | | | This change cleans up the implementation of cmXCodeObject to avoid un-escaping and re-escaping string values. There is no need to store the string in escaped form. It can be escaped once when it is printed out to the generated project file.
* ENH: fix for 64 bit cmake on macBill Hoffman2008-05-091-0/+4
|
* ENH: Improvements to the Xcode generator. Build frameworks using native Copy ↵David Cole2007-08-141-3/+31
| | | | Headers and Copy Bundle Resources phases. Fix bugs: eliminate folders with no names, ensure source files show up in multiple targets, remove empty utility targets from Sources subtrees, ensure that fileRefs only show up once in each grouping folder.
* STYLE: fix some kwstyle errorsBill Hoffman2007-07-271-0/+16
|
* ENH: @ must be escaped in xcode projectsBill Hoffman2007-05-271-1/+1
|
* BUG: fix for quotes in strings for flags #4022Bill Hoffman2007-02-211-1/+3
|
* STYLE: fix line lengthKen Martin2006-05-121-3/+6
|
* ENH: Add copy stages for bundle filesAndy Cedilnik2006-03-291-0/+1
|
* BUG: some UNIX fixes for my m_ commitKen Martin2006-03-151-22/+22
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-44/+44
|
* STYLE: fix line lengthsBill Hoffman2006-03-101-2/+4
|
* ENH: more chars need quotesBill Hoffman2005-11-181-1/+1
|
* ENH: fixes for xcode21 and build styles and comments in the generated projectBill Hoffman2005-11-161-20/+74
|
* ENH: add real support for Xcode21Bill Hoffman2005-09-021-2/+4
|
* ENH: fix bug in target linkingBill Hoffman2005-02-071-5/+23
|
* ENH: this version can build cmakeBill Hoffman2005-02-041-1/+4
|
* ENH: depends work between targetsBill Hoffman2005-02-031-3/+11
|
* ENH: getting closerBill Hoffman2005-02-021-16/+2
|
* ENH: getting closerBill Hoffman2005-02-011-0/+8
|
* ENH: xcode almost working for simple exe, but not yetBill Hoffman2005-01-271-0/+3
|
* ENH: fix a few more xcode thingsBill Hoffman2005-01-271-4/+18
|
* ENH: add missing ;Bill Hoffman2005-01-271-1/+1
|
* ENH: add more xcode stuffBill Hoffman2005-01-271-2/+6
|
* ENH: add initial non-working XCode stuffBill Hoffman2005-01-251-14/+15
|
* ENH: initial xcode stuffBill Hoffman2005-01-241-23/+27
|
* ENH: start xcode stuffBill Hoffman2005-01-211-0/+97