Stephen Kelly
a5b10ae68a
cmAlgorithms: Remove needless assignment.
2015-02-24 09:16:02 -05:00
Stephen Kelly
7fd8557f4c
cmAlgorithms: Maintain the pivot iterator in cmRemoveIndices.
...
Avoid the algorithm of 'Schlemiel the painter' in the case of
iterators which are not RandomAccess.
2015-02-24 09:16:02 -05:00
Stephen Kelly
1f79679136
cmAlgorithms: Relax iterator requirement for cmRemoveIndices.
...
Require only forward iterators from the range.
2015-02-24 09:16:02 -05:00
Stephen Kelly
ba959934a6
cmAlgorithms: Make cmRemoveDuplicates work with more containers.
...
Remove the accidental requirement that the input range must be a
std::vector.
2015-02-24 09:16:02 -05:00
Stephen Kelly
cae45df772
cmAlgorithms: Rename template argument to RemoveN.
2015-02-24 09:16:01 -05:00
Stephen Kelly
b917f4c003
cmAlgorithms: Relax cmRemoveN requirement to FwdIter.
...
cmRotate already requires only FwdIter.
2015-02-24 09:16:01 -05:00
Stephen Kelly
bbc1a9788d
cmAlgorithms: Add a size() to cmRange.
...
size() is already used by cmRemoveDuplicates, which is designed to
accept a cmRange.
2015-02-24 09:16:01 -05:00
Stephen Kelly
47a3e22ea5
cmAlgorithms: Rename template type in cmDeleteAll algorithm.
...
It may be any range, not only a container.
2015-02-23 20:19:35 +01:00
Stephen Kelly
cb75eec0b4
cmAlgorithms: Add const to const objects.
2015-02-23 20:19:35 +01:00
Brad King
7e576624bb
Merge branch 'release'
2015-02-23 14:06:59 -05:00
Brad King
99575c9ac1
CMake 3.2.0-rc2
2015-02-23 11:10:12 -05:00
Brad King
cb16c7844d
Merge topic 'wix-shortcut-properties'
...
6cc01c14
CPackWIX: Add release notes for the wix-shortcut-properties topic.
135febf0
CPackWIX: Enhance CMake CPack WIX generated installer.
e6731f48
CPackWIX: Add new CPACK_STARTUP_SHORTCUTS property.
279605f5
CPackWIX: Add installed file properties for the creation of shortcuts.
53d7daff
CPackWIX: Refactor start menu and desktop shortcut creation.
dc0f3fb4
CPackWIX: Explicitly list CPack WIX headers for IDE convenience.
2015-02-23 11:06:07 -05:00
Brad King
7cebc5acac
Merge topic 'rpm_package_architecture'
...
b6f94e6b
Help: Add notes for topic 'rpm_package_architecture'
f174b919
Tests: CpackRPM test component architecture
3aa9f89d
CPackRPM: Support rpm architecture in components
761562fe
CPackRPM: Fix CPACK_RPM_PACKAGE_ARCHITECTURE
2015-02-23 11:06:05 -05:00
Brad King
b6f94e6b14
Help: Add notes for topic 'rpm_package_architecture'
2015-02-23 11:02:22 -05:00
Nils Gladitz
6cc01c1402
CPackWIX: Add release notes for the wix-shortcut-properties topic.
2015-02-23 16:49:42 +01:00
Joshua A Clayton
f174b919d6
Tests: CpackRPM test component architecture
...
Test creating rpms of type "noarch", native, and "armv7hf"
2015-02-23 10:48:36 -05:00
Joshua A Clayton
3aa9f89dbb
CPackRPM: Support rpm architecture in components
...
CPACK_RPM_<component>_PACKAGE_ARCHITECTURE variable allows
the same project to support packages of different architectures
including noarch, native and foreign architectures.
2015-02-23 10:48:27 -05:00
Joshua A Clayton
761562fea6
CPackRPM: Fix CPACK_RPM_PACKAGE_ARCHITECTURE
...
BuildArch must only be added to a spec file for a "noarch" package or
rpmbuild will fail. For all others, the --target argument sets the
package architecture. In the process of Fixing rpm architecture, we
make it mandatory, adding a default value of native architecture (the
same as if no --target argument is present). Update the documentation
at the top of the file to make it mandatory.
2015-02-23 10:48:10 -05:00
Brad King
9f487b1dad
Merge branch 'release'
2015-02-23 10:29:51 -05:00
Brad King
9627c5238a
Merge topic 'if-optimize'
...
51f8de81
if(): avoid one needless string compare for all if() statements
2015-02-23 10:26:48 -05:00
Brad King
67fa9462ad
Merge topic 'rpm_run_tests_on_other_platforms'
...
8c0474cd
CPackRPM: run tests on more platforms than just Linux
2015-02-23 10:26:46 -05:00
Brad King
6dc9a627b6
Merge topic 'minor-cleanups'
...
c021f59c
cmMakefile: Store macro list in a vector not in a map.
2d130896
cmMakefile: Fix list of macros generation.
f1969234
cmFunctionCommand: Remove ineffectual code.
1116698a
cmTarget: Don't needlessly clear vectors in the destructor.
2015-02-23 10:26:42 -05:00
Brad King
88aeb64ddf
Merge topic 'fix-graphiz-typo'
...
f93438cd
Fix typo, graphiz -> graphviz.
2015-02-23 10:26:40 -05:00
Brad King
cc3611023d
Merge topic 'use-algorithms'
...
bb9d71b4
Replace loops with algorithms.
4afe6c26
cmAlgorithms: Add cmReverseRange adaptor.
a3a0a8c2
cmAlgorithms: Add cmFindNot algorithm.
8c74a41f
cmRST: Replace two erase with a rotate and larger erase.
61fe1919
cmAlgorithms: Update concept requirement to FowardIterator
09d6125b
cmAlgorithms: Move cmRotate out of 'implementation detail' namespace.
8ed6ecac
cmRST: Move two algorithms beside each other.
dfe49c20
cmRST: Use std::min where appropriate.
21b0654a
cmGlobalGenerator: Convert set insert algorithm to vector algorithms.
416df93a
Convert some raw loops to cmWrap.
37b88d34
cmAlgorithms: Add cmWrap.
a2818093
Use cmJoin where possible.
76207b08
cmCacheManager: Replace loop with algorithm.
60c3bb73
cmGlobalGenerator: Replace loop with algorithm.
05fec779
cmTarget: Port loop to algorithm.
9c225767
cmGlobalGenerator: Replace set::insert algorithm with cmRemoveDuplicates.
...
2015-02-23 10:26:38 -05:00
Brad King
15c409f467
Merge topic 'CheckStructHasMember-fix-null-deref-warning'
...
e1da4dc2
CheckStructHasMember: fix null deref warning (#15413 )
2015-02-23 10:26:36 -05:00
Brad King
a089c1c903
Merge topic 'cpack-bundle-codesign-output'
...
7b582d15
CPack: Print output from codesign if signing fails
2015-02-23 10:26:34 -05:00
Brad King
ae7c5f05c3
Merge topic 'FindCurses-remove-unused-check'
...
b4005a3a
FindCurses: Drop unused check for cbreak in tinfo library
2015-02-23 10:26:32 -05:00
Brad King
1eb192905d
Merge topic 'private-FindJsonCpp'
...
a41d621d
bootstrap: Add --(no-)system-jsoncpp options
a5768442
FindJsonCpp: Drop new module due to upstream jsoncpp providing package
2015-02-23 10:26:30 -05:00
Domen Vrankar
8c0474cd2c
CPackRPM: run tests on more platforms than just Linux
...
Lift the restriction that limits use of CPackRPM tests to Linux OS only
because RPM can also be used on e.g. AIX which is Unix OS.
2015-02-23 10:19:29 -05:00
Kitware Robot
6adff76720
CMake Nightly Date Stamp
2015-02-23 00:01:08 -05:00
Nils Gladitz
135febf069
CPackWIX: Enhance CMake CPack WIX generated installer.
2015-02-22 15:20:33 +01:00
Rolf Eike Beer
51f8de8102
if(): avoid one needless string compare for all if() statements
...
If it's known that it is an "if" it can't be an "elseif".
2015-02-22 13:48:30 +01:00
Kitware Robot
5cf629c3bc
CMake Nightly Date Stamp
2015-02-22 00:01:09 -05:00
Nils Gladitz
e6731f486e
CPackWIX: Add new CPACK_STARTUP_SHORTCUTS property.
2015-02-21 18:07:36 +01:00
Nils Gladitz
279605f560
CPackWIX: Add installed file properties for the creation of shortcuts.
2015-02-21 17:30:31 +01:00
Nils Gladitz
53d7daffac
CPackWIX: Refactor start menu and desktop shortcut creation.
2015-02-21 12:38:14 +01:00
Stephen Kelly
c021f59c1f
cmMakefile: Store macro list in a vector not in a map.
...
The signature was computed (incorrectly) and stored as the map
value, but never used. Remove it now.
2015-02-21 11:25:47 +01:00
Stephen Kelly
2d130896a0
cmMakefile: Fix list of macros generation.
...
It was broken by commit 7ee56f03
(Convert loops into the commonly
used pattern., 2015-01-17).
2015-02-21 11:25:26 +01:00
Stephen Kelly
f19692342b
cmFunctionCommand: Remove ineffectual code.
...
The name variable is never used.
2015-02-21 11:02:03 +01:00
Stephen Kelly
1116698a89
cmTarget: Don't needlessly clear vectors in the destructor.
...
This will be done anyway for us.
2015-02-21 11:00:14 +01:00
Stephen Kelly
f93438cd83
Fix typo, graphiz -> graphviz.
2015-02-21 10:27:54 +01:00
Kitware Robot
8804c3e0e4
CMake Nightly Date Stamp
2015-02-21 00:01:16 -05:00
Stephen Kelly
bb9d71b4fe
Replace loops with algorithms.
2015-02-20 21:36:58 +01:00
Stephen Kelly
4afe6c26c6
cmAlgorithms: Add cmReverseRange adaptor.
...
Use it to implement list(REVERSE).
2015-02-20 21:36:58 +01:00
Stephen Kelly
a3a0a8c222
cmAlgorithms: Add cmFindNot algorithm.
2015-02-20 21:36:58 +01:00
Stephen Kelly
8c74a41ff3
cmRST: Replace two erase with a rotate and larger erase.
2015-02-20 21:36:58 +01:00
Stephen Kelly
61fe1919de
cmAlgorithms: Update concept requirement to FowardIterator
2015-02-20 21:36:58 +01:00
Stephen Kelly
09d6125bfe
cmAlgorithms: Move cmRotate out of 'implementation detail' namespace.
...
This should be generally usable in cmake.
2015-02-20 21:36:58 +01:00
Stephen Kelly
8ed6ecac3f
cmRST: Move two algorithms beside each other.
2015-02-20 21:36:58 +01:00
Stephen Kelly
dfe49c2056
cmRST: Use std::min where appropriate.
2015-02-20 21:36:58 +01:00