David Cole
5549334a99
Merge topic 'qt5-qtdialog-port'
...
92b6d85 Enable deprecated API when using Qt 5.
2012-09-25 15:18:14 -04:00
David Cole
8dbe39c6c7
Merge topic 'generator-expression-refactor'
...
f20af79 Handle colons as a special case in the generator expression parser.
fb578c8 Fix the regular expression validator for target names.
2012-09-25 15:17:45 -04:00
David Cole
92be70d683
Merge topic 'vs8-generator-doc'
...
750fcaa VS8: Remove '.NET' from generator description (#10158 )
2012-09-25 15:17:17 -04:00
David Cole
998a17d098
Merge topic 'file-DOWNLOAD-EXPECTED_HASH'
...
95a0011 file(DOWNLOAD): Change EXPECTED_HASH to take ALGO=value
2012-09-25 15:17:01 -04:00
Nils Gladitz
9ace801578
ctest_update: Tell svn not to prompt interactively ( #13024 )
...
While at it, add SVNOptions/CTEST_SVN_OPTIONS configuration settings to
add options to all svn invocations instead of just "svn update".
2012-09-25 13:36:47 -04:00
Kitware Robot
f00f58fe13
CMake Nightly Date Stamp
2012-09-25 00:01:05 -04:00
Kitware Robot
d550801a3d
CMake Nightly Date Stamp
2012-09-24 00:01:04 -04:00
Stephen Kelly
92b6d85519
Enable deprecated API when using Qt 5.
...
The QAbstractItemModel::reset() method is deprecated in Qt 5, and
therefore not part of the API by default (on non-Windows).
The replacement for it is beginResetModel/endResetModel which are
available from Qt 4.6 onwards.
The minimum version of Qt required is currently 4.4, so enable the
deprecated API instead of changing that.
2012-09-23 20:13:06 +02:00
Kitware Robot
eb5da9c71d
CMake Nightly Date Stamp
2012-09-23 00:01:03 -04:00
Kitware Robot
f31de15b5e
CMake Nightly Date Stamp
2012-09-22 00:01:04 -04:00
Brad King
a0a0877a1e
OS X: Always generate -isysroot if any SDK is in use
...
Drop the last use of CMAKE_OSX_SYSROOT_DEFAULT. Replace internal
platform variable CMAKE_${lang}_HAS_ISYSROOT with a more general
CMAKE_${lang}_SYSROOT_FLAG variable. If the -isysroot flag exists and
CMAKE_OSX_SYSROOT points to an SDK (not "/") then always add it to
compiler command lines. This is already done in the Xcode IDE.
2012-09-21 08:53:42 -04:00
Brad King
33a60e6bd1
Xcode: Remove unused code reading CMAKE_OSX_SYSROOT_DEFAULT
...
The condition for entering the block where the value is used
can never be true anymore.
2012-09-21 08:47:02 -04:00
Stephen Kelly
b8e61d687a
Refactor GetCompileDefinitions a bit.
...
It is now easier to add generator expressions.
2012-09-21 13:31:12 +02:00
Stephen Kelly
2c2b25b203
Return a std::string from GetCompileDefinitions.
2012-09-21 13:28:54 +02:00
Stephen Kelly
b7e48e0acb
Add an AppendDefines std::string overload.
...
This makes it easier to use with cmGeneratorTarget::GetCompileDefinitions.
2012-09-21 13:28:54 +02:00
Stephen Kelly
9a160871d0
Convert paths in INCLUDE_DIRECTORIES property to Unix slashes.
...
Duplicate some of the logic from the include_directories command.
2012-09-21 13:28:54 +02:00
Stephen Kelly
4557c8db48
Don't prepend a path before generator expressions in include_directories.
2012-09-21 13:28:54 +02:00
Stephen Kelly
c6abc41eb5
Add include guard for cmGeneratorExpression.
2012-09-21 13:28:54 +02:00
Stephen Kelly
0ff4e3f0b8
Port remaining code to GetCompileDefinitions().
2012-09-21 13:28:53 +02:00
Stephen Kelly
f20af79956
Handle colons as a special case in the generator expression parser.
...
Like the special case for commas, this ensures that the colon only has
special meaning as the delimiter between the identifier and the
parameters of a particular expression, but constructs such as
INCLUDE_DIRECTORIES "$<1:C:\foo>"
are legal.
2012-09-21 11:33:46 +02:00
Stephen Kelly
f178d531a6
Fix indentation in the code blocks generator.
2012-09-21 08:52:24 +02:00
Kitware Robot
bb18bb7f55
CMake Nightly Date Stamp
2012-09-21 00:01:03 -04:00
Stephen Kelly
fb578c8635
Fix the regular expression validator for target names.
...
Regression introduced by f1eacf0e07759b57d100dbf5d83c70e4028bcb54.
Target names have different valid contents to config names.
2012-09-20 12:13:33 +02:00
Stephen Kelly
879fd354c1
Revert "Move GenerateTargetManifest to cmGeneratorTarget."
...
This reverts commit 987e12e2f962b6e9ed9f15f8ff486512911b744e.
GenerateTargetManifest is called by the global generator before it
creates the generator targets, so we can't move it to cmGeneratorTarget
yet.
2012-09-20 08:34:30 +02:00
Kitware Robot
7e4a37800c
CMake Nightly Date Stamp
2012-09-20 00:01:02 -04:00
Brad King
8fc88b7eb0
Merge topic 'vs-link-rsp'
...
5598d9b Ninja: don't expand any rsp files
2012-09-19 13:58:12 -04:00
Brad King
03077c9cbc
Merge topic 'file-DOWNLOAD-user-agent'
...
14aff4d file(DOWNLOAD): Add HTTP User-Agent string
2012-09-19 13:58:01 -04:00
Brad King
fbe7b3cdfc
Merge topic 'vs11-express'
...
7ee3cee VS11: Add VS 2012 Express support (#13348 )
e17f345 VS11: Detect VS 2012 Express for default generator (#13348 )
2012-09-19 13:57:53 -04:00
Brad King
65af5e90b9
Merge topic 'ninja-rc-compile-flag'
...
a1c9c13 Ninja: filter target specific compile flags with language specific regex
2012-09-19 13:57:47 -04:00
Brad King
d1513950fa
Merge topic 'document-MSVC-variables-12567'
...
f35e35b add documentation for all MSVCxxx version variables (#12567 )
2012-09-19 13:57:44 -04:00
Stephen Kelly
e83cc94dcd
Use the cmGeneratorTarget for the include directories API.
...
Also, no need to get the include directories from the target
beforehand. The local generator does that for us anyway.
2012-09-19 18:45:01 +02:00
Stephen Kelly
9d8e59db71
Merge branch 'use-generator-target' into AutomocUseTargetProperties
2012-09-19 18:33:11 +02:00
Brad King
750fcaa858
VS8: Remove '.NET' from generator description ( #10158 )
...
The product name does not include '.NET'. Use '8' instead to be
consistent with the existing description of the '9' (2008) generator.
2012-09-19 12:09:00 -04:00
Peter Kuemmel
5598d9b2a0
Ninja: don't expand any rsp files
2012-09-19 11:40:47 -04:00
Brad King
95a0011604
file(DOWNLOAD): Change EXPECTED_HASH to take ALGO=value
...
Make the EXPECTED_HASH option take only a single value instead of two to
avoid handling sub-keyword arguments. This is also consistent with
URL_HASH in ExternalProject.
2012-09-19 11:31:36 -04:00
Stephen Kelly
6674583caa
Fix compiler warning with initialization order.
2012-09-19 17:16:25 +02:00
Stephen Kelly
5285458342
Add convenience for getting a cmGeneratorTarget to use.
2012-09-19 15:32:25 +02:00
Stephen Kelly
c31f3d99f8
Add a wrapper for accessing config-specific compile-definitions.
2012-09-19 15:32:19 +02:00
Stephen Kelly
d1446ca7a0
Append the COMPILE_DEFINITIONS from the Makefile to all targets.
...
This way we don't need to check the definitions from the Makefile when
generating later, and can more easily add generator expressions.
Duplication is not a problem as the definitions are de-duplicated before
generating.
2012-09-19 15:32:13 +02:00
Stephen Kelly
290e92ada8
Move GetIncludeDirectories to cmGeneratorTarget.
2012-09-19 15:32:09 +02:00
Stephen Kelly
f9146f6b90
Port cmLocalGenerator::GetTargetFlags to cmGeneratorTarget.
2012-09-19 15:31:39 +02:00
Stephen Kelly
9facfd1336
Move GetCreateRuleVariable to cmGeneratorTarget.
2012-09-19 15:31:32 +02:00
Stephen Kelly
78bfee35d5
Make cmLocalGenerator::AddArchitectureFlags take a cmGeneratorTarget.
2012-09-19 15:31:29 +02:00
Stephen Kelly
4f5384e75c
Move GetLinkInformation to cmGeneratorTarget
2012-09-19 15:30:57 +02:00
Stephen Kelly
987e12e2f9
Move GenerateTargetManifest to cmGeneratorTarget.
2012-09-19 15:30:49 +02:00
Stephen Kelly
14bf7783f4
Store cmGeneratorTargets with the makefile.
2012-09-19 15:29:07 +02:00
Stephen Kelly
f428ca25f5
Add more forwarding API to cmGeneratorTarget.
...
This API is the most commonly required in the following patches.
2012-09-19 15:28:03 +02:00
Brad King
d407dcdbc8
Merge topic 'generator-expression-refactor'
...
91011bd cmGeneratorExpression: Port users to two-stage processing
f1eacf0 cmGeneratorExpression: Re-write for multi-stage evaluation
2012-09-19 08:28:16 -04:00
Kitware Robot
281654b5d6
CMake Nightly Date Stamp
2012-09-19 00:01:03 -04:00
Stephen Kelly
91011bd217
cmGeneratorExpression: Port users to two-stage processing
...
Removing the Process() API and removing the parameters from the
constructor will allow cmGeneratorExpressions to be cached and evaluated
with multiple configs for example, such as when evaluating target
properties. This requires the creation of a new compiled representation
of cmGeneratorExpression. The cmListFileBacktrace remains in the
constructor so that we can record where a particular generator
expression appeared in the CMakeLists file.
2012-09-18 17:03:08 -04:00