summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2015-01-16 22:37:26 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-19 13:36:45 (GMT)
commit9e0176e2b37b93f34718b6333edd73302b5c5350 (patch)
tree27540950bdf171cc98ab30d44e486068a4019999 /Source/cmGlobalXCodeGenerator.h
parentc0ff542c58e48ac91714d9dc44058c9cb42fb828 (diff)
downloadCMake-9e0176e2b37b93f34718b6333edd73302b5c5350.zip
CMake-9e0176e2b37b93f34718b6333edd73302b5c5350.tar.gz
CMake-9e0176e2b37b93f34718b6333edd73302b5c5350.tar.bz2
Xcode: Sort targets deterministically and with ALL_BUILD first (#15346)
The default target in XCode is the first one in the file. In commit v3.1.0-rc1~286^2 (cmTarget: use a hash_map for cmTargets typedef, 2014-06-10) the order of the targets stored in cmMakefile was made non-deterministic instead of lexicographic. Teach the Xcode generator to do its own sorting to restore a predictable order. While at it, place ALL_BUILD first (as is done in VS IDE generators) explicitly in the comparison function so that it is the default target even if other targets sort earlier lexicographically (e.g. "AAA").
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
0 files changed, 0 insertions, 0 deletions