Stephen Kelly
c725bb3cbd
Constify some APIs in generators.
2014-03-13 15:27:23 +01:00
Stephen Kelly
dcfcd23ed5
cmGeneratorTarget: Make GetSourceDepends const.
2014-03-13 15:27:23 +01:00
Stephen Kelly
04cf50ff62
cmOSXBundleGenerator: Make MacOSXContentGeneratorType arg const.
2014-03-13 15:27:23 +01:00
Stephen Kelly
6132d979d9
cmGeneratorTarget: Constify the AddExplicitObjectName API.
...
The storage is already const.
2014-03-13 15:27:23 +01:00
Stephen Kelly
bc51221164
cmGeneratorTarget: Constify the AddObject API.
...
The storage is already const.
2014-03-13 15:27:23 +01:00
Stephen Kelly
cd43433de5
cmGlobalGenerator: Extract a ComputeTargetObjectDirectory interface.
...
Make it public for future external calls.
2014-03-13 15:27:23 +01:00
Stephen Kelly
d5b2e33be2
Makefiles: Compute local object files on demand.
...
Don't compute them up front.
2014-03-13 15:27:23 +01:00
Brad King
82a7d54cfe
Merge branch 'release'
2014-03-13 09:41:03 -04:00
Brad King
7477f01ebd
Merge topic 'generalize-cmCustomCommandGenerator'
...
bc993f27
Generalize cmCustomCommandGenerator to more fields
9a5c5544
cmGlobalXCodeGenerator: Simplify handling of multiple outputs
d45e7f34
cmCustomCommand: Return std::string from GetWorkingDirectory
2014-03-13 09:36:10 -04:00
Brad King
5ef2bb4b86
Merge topic 'string-apis-fix-cmake-gui'
...
ae32622b
cmake-gui: Fix handling of missing CMAKE_EXTRA_GENERATOR (#14804 )
2014-03-13 09:36:08 -04:00
Brad King
e1a671c7d8
Merge topic 'fix-CMP0046-warning'
...
d83245a3
cmTarget: Don't create duplicate backtraces in CMP0046 warning
2014-03-13 09:36:06 -04:00
Kitware Robot
4a6a59a120
CMake Nightly Date Stamp
2014-03-13 00:01:10 -04:00
Clinton Stimpson
c34216cf8a
cmake-gui: Fix compile with Qt5 using UTF-8 internal encoding.
...
Because we already call [to|from]Local8Bit() with C strings where we are supposed to,
we do not need to specify UTF-8 encoding when converting C strings to QString.
2014-03-12 20:48:46 -06:00
Brad King
59d3898bc7
Merge branch 'fix-CMP0046-warning' into release
2014-03-12 14:56:37 -04:00
Stephen Kelly
d83245a34f
cmTarget: Don't create duplicate backtraces in CMP0046 warning
2014-03-12 18:01:26 +01:00
Brad King
92e05192ac
Merge topic 'update-kwsys'
...
dcc49d9c
Merge branch 'upstream-kwsys' into update-kwsys
c1dde67e
KWSys 2014-03-12 (dd873734)
2014-03-12 11:05:39 -04:00
Brad King
dcc49d9c55
Merge branch 'upstream-kwsys' into update-kwsys
2014-03-12 11:04:42 -04:00
KWSys Robot
c1dde67e62
KWSys 2014-03-12 (dd873734)
...
Extract upstream KWSys using the following shell commands.
$ git archive --prefix=upstream-kwsys/ dd873734 | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' 9c653603..dd873734
Brad King (1):
88c5a768 Set policy CMP0025 to NEW within KWSys
Stephen Kelly (1):
dd873734 SystemTools: Remove some unnecessary c_str() calls
Change-Id: I5487fefcb3e44875ed5748fb2c4ab8302fcef984
2014-03-12 11:04:37 -04:00
Brad King
bc993f277e
Generalize cmCustomCommandGenerator to more fields
...
Until now the cmCustomCommandGenerator was used only to compute the
command lines of a custom command. Generalize it to get the comment,
working directory, dependencies, and outputs of custom commands. Update
use in all generators to support this.
2014-03-12 10:44:01 -04:00
Brad King
9a5c554414
cmGlobalXCodeGenerator: Simplify handling of multiple outputs
...
Make the multiple output pair map more local. Generate it where we
have the current configuration available.
2014-03-12 10:44:00 -04:00
Brad King
d45e7f3461
cmCustomCommand: Return std::string from GetWorkingDirectory
2014-03-12 10:44:00 -04:00
Brad King
cb8f87f622
Merge topic 'remove-c_str-calls'
...
3be265b3
Workaround Sun C++ 5.9 compiler crash
af8a1643
Remove c_str calls when using stream APIs.
21c573f6
Remove some c_str() calls.
2014-03-12 10:42:38 -04:00
Brad King
3be265b304
Workaround Sun C++ 5.9 compiler crash
...
Adjust whitespace in Source/CPack/cpack.cxx to avoid a strange
internal compiler crash.
2014-03-12 10:40:45 -04:00
Brad King
9defc45f78
Merge branch 'release'
2014-03-12 10:18:52 -04:00
Brad King
85ffb02919
Merge topic 'unicode-cmake-gui'
...
649789a7
Unicode: cmake-gui encoding now matches KWSys encoding.
2014-03-12 10:13:18 -04:00
Brad King
7122f6b1a8
Merge topic 'FindPkgConfig-revise-docs'
...
49ef91d7
FindPkgConfig: restructure documentation and document commands and variables
2014-03-12 10:13:17 -04:00
Brad King
4d2545f41c
Merge topic 'fix-find_dependency-EXACT-for-master'
...
f74a8405
Test error cases in find_dependency.
2014-03-12 10:13:15 -04:00
Brad King
5082e31ba3
Merge topic 'fix-find_dependency-EXACT'
...
224f50f4
find_dependency: Make sure invalid EXACT use can be reported.
2014-03-12 10:13:13 -04:00
Brad King
2c6970a3ca
Merge topic 'fix-xcode-compiler-force'
...
8c9bfac3
Xcode: Convert forced CMAKE_<LANG>_COMPILER to full path if possible
6852fb80
CMakeDetermine*Compiler: Factor out search for compiler in PATH
2014-03-12 10:13:12 -04:00
Brad King
7534967b65
Merge branch 'fix-find_dependency-EXACT' into release
2014-03-12 10:12:06 -04:00
Brad King
ae32622bcf
cmake-gui: Fix handling of missing CMAKE_EXTRA_GENERATOR ( #14804 )
...
Since commit 1a1b737c
(stringapi: Use strings for generator names,
2014-02-24) cmExternalMakefileProjectGenerator::CreateFullGeneratorName
expects a std::string instead of const char*. When no extra generator
name is available, pass an empty string to avoid NULL dereference.
2014-03-12 09:55:23 -04:00
Kitware Robot
c4c6427ed6
CMake Nightly Date Stamp
2014-03-12 00:01:12 -04:00
Stephen Kelly
af8a1643c1
Remove c_str calls when using stream APIs.
...
Use an ad-hoc clang tool for matching the calls which should be
ported.
2014-03-11 15:03:50 +01:00
Stephen Kelly
21c573f682
Remove some c_str() calls.
...
Use the clang RemoveCStrCalls tool to automatically migrate the
code. This was only run on linux, so does not have any positive or
negative effect on other platforms.
2014-03-11 15:03:50 +01:00
Stephen Kelly
224f50f42f
find_dependency: Make sure invalid EXACT use can be reported.
...
Test the first argument directly for matching 'EXACT'. The error
check in its previous position was incorrect and would only trigger
with a version of '0' or similar.
2014-03-11 14:51:06 +01:00
Stephen Kelly
f74a8405b6
Test error cases in find_dependency.
2014-03-11 14:48:35 +01:00
Brad King
b801205dad
Merge topic 'ctest-coverage-extra'
...
93d5c4dc
Help: Add release notes for topic 'ctest-coverage-extra'
ef1c1153
CTest: Teach ctest_coverage() to read CTEST_COVERAGE_EXTRA_FLAGS
2014-03-11 09:18:28 -04:00
Brad King
ea6b47d2d5
Merge branch 'release'
2014-03-11 09:16:42 -04:00
Brad King
a86617902d
Merge topic 'cmcurl-include-first'
...
e8c027bc
cmcurl: Include the local curl directories before all others.
2014-03-11 09:14:08 -04:00
Brad King
1b809c09ff
Merge topic 'watcom-VERBOSE-and-ERROR'
...
f1b689b6
Makefile: Improve handling of WMake verbose output and errors
2014-03-11 09:14:07 -04:00
Brad King
8559c326c4
Merge topic 'cmELF-typo'
...
172d8d94
cmELF: Fix typo in comment, 32-bit => 64-bit (#14799 )
2014-03-11 09:14:05 -04:00
Brad King
312a6b7bde
Merge topic 'ninja-command-line-length-haiku'
...
6c90f0a6
Ninja: Detect command-line length limit on Haiku
2014-03-11 09:14:03 -04:00
Brad King
70c6eda8c2
Merge topic 'FindFreetype-path-suffix-without-include'
...
b79a1f67
FindFreetype: Add plain 'freetype2' path suffix
2014-03-11 09:14:01 -04:00
Brad King
3d3adc0c57
Merge topic 'FindSDL-consistent-path-suffixes'
...
d71db3a0
FindSDL: Make FindSDL_*.cmake path suffixes consistent with main module
2014-03-11 09:14:00 -04:00
Brad King
510ceb19ed
Merge topic 'fix-AUTOGEN-custom-command-depends'
...
112cba92
QtAutogen: Fix AUTOGEN depends on custom command output with VS.
2014-03-11 09:13:58 -04:00
Brad King
c9241cad83
Merge topic 'fix-find_dependency-EXACT-for-master'
...
45abfb0c
find_dependency: Extend the tests for use of EXACT macro parameter.
2014-03-11 09:13:56 -04:00
Brad King
dfcacecd18
Merge topic 'fix-find_dependency-EXACT'
...
08ba128f
find_dependency: Don't propagate EXACT argument.
2014-03-11 09:13:54 -04:00
Brad King
a2d63a9d04
Merge topic 'fix-Qt4-DBus-macro'
...
fc2bad57
Qt4: Use correct qdbus executable in macro.
2014-03-11 09:13:53 -04:00
Brad King
c2d1ea3181
Merge branch 'fix-xcode-compiler-force' into release
2014-03-11 09:06:53 -04:00
Kitware Robot
64b93354dc
CMake Nightly Date Stamp
2014-03-11 00:01:07 -04:00