Brad King
75bd5ca06a
Tests: Fix RunCMake.CTest to tolerate source line number changes
2015-04-27 10:46:52 -04:00
Brad King
ebb54e02c4
Merge topic 'cpack-deb-linitian-md5hash'
...
75b0e167
CPackDeb: Add basic package tests
fdfe4586
CPackDeb: Fix lintian md5sum file warning
2015-04-23 09:04:43 -04:00
Brad King
9fd1f5494f
Merge topic 'allow-empty-CMAKE_TOOLCHAIN_FILE'
...
22926dd6
Allow CMAKE_TOOLCHAIN_FILE to be an empty string
2015-04-23 09:04:41 -04:00
Brad King
46098b0676
Merge topic 'check-compiler-flag-clang'
...
680ebebc
Check*CompilerFlag: Add another pattern for Clang (#15526 )
2015-04-23 09:04:39 -04:00
Brad King
ad247d82b1
Merge topic 'mingw-64'
...
c775072a
cmGeneratorExpressionEvaluationFile: Add missing sys/types.h include
2015-04-23 09:04:37 -04:00
Brad King
b03063b904
Merge topic 'bash-completion-updates'
...
2ecf168f
bash-completion: Avoid using _init_completion when not defined
2015-04-23 09:04:35 -04:00
Brad King
195a724c57
Merge topic 'deterministic-CTest-tests'
...
b5b20d20
ctest: Treat ENV{CTEST_OUTPUT_ON_FAILURE} as a boolean
fcf9cf6c
Tests: Make a CTest test deterministic.
2015-04-23 09:04:33 -04:00
Raffi Enficiaud
75b0e1679c
CPackDeb: Add basic package tests
...
Tests of generated component based deb packages with lintian and dpkg.
Also includes basic file name check.
2015-04-23 09:03:10 -04:00
Raffi Enficiaud
fdfe4586a0
CPackDeb: Fix lintian md5sum file warning
...
Lintian warned about invalid md5sum file permissions.
2015-04-23 09:02:49 -04:00
Kitware Robot
b229f40f07
CMake Nightly Date Stamp
2015-04-23 00:01:05 -04:00
Andrey Pokrovskiy
22926dd651
Allow CMAKE_TOOLCHAIN_FILE to be an empty string
...
Do not try to include() an empty string in the generated CMakeSystem
module.
2015-04-22 16:06:44 -04:00
Brad King
6189cdda79
Merge topic 'ExternalProject-depend-INTERFACE'
...
e1c6df39
ExternalProject: Allow dependencies on INTERFACE libraries
c0502faa
ExternalProject: Fix error message typo
2015-04-22 11:16:45 -04:00
Brad King
1468f31988
Merge topic 'ExternalProject-genex'
...
b470d618
Help: Add notes for topic 'ExternalProject-genex'
0273ef14
ExternalProject: Allow generator expressions with LOG_* options (#15287 )
7bd8cfb8
ExternalProject: Allow generator expressions in initial cache options
1cf43dcf
Tests: Add case to cover ExternalProject with subdirectories
2015-04-22 11:16:43 -04:00
Brad King
8f95392879
Merge topic 'fix-CTestTestSerialOrder-parallel-env'
...
2f4b13b3
Tests: Protect CTestTestSerialOrder from environment (#15524 )
2015-04-22 11:16:40 -04:00
Brad King
5e98ba0cd8
Merge topic 'doc-ctest-env-formatting'
...
a61e0994
Help: Fix formatting of env var refs in ctest.1 manual
2015-04-22 11:16:38 -04:00
Brad King
981bdc09c6
Merge topic 'doc-find_library-file-name'
...
941e3bd2
Help: Document in find_library how to search for static libraries
2015-04-22 11:16:36 -04:00
Brad King
df302bcc55
Merge topic 'autogen-no-rcc-stderr'
...
258ba828
QtAutogen: Process 'rcc --list' stdout and stderr separately (#15523 )
acd4f01f
cmQtAutoGenerators: Split CR stripping out to helper function
2015-04-22 11:16:33 -04:00
Dan Kegel
680ebebc1a
Check*CompilerFlag: Add another pattern for Clang ( #15526 )
...
Match 'optimization flag ... not supported' messages.
2015-04-22 10:59:57 -04:00
Brad King
c775072ad5
cmGeneratorExpressionEvaluationFile: Add missing sys/types.h include
...
This is needed for 'mode_t', and on mingw-w64 in particular. We added
use of 'mode_t' in commit v3.2.0-rc1~421^2 (file(GENERATE): Use
permissions of input file if present, 2014-07-22).
2015-04-22 09:59:51 -04:00
Gaëtan Lehmann
2ecf168f19
bash-completion: Avoid using _init_completion when not defined
...
With the current version of homebrew one gets:
bash: _init_completion: command not found
Avoid this by initializing manually when the function is not defined.
2015-04-22 09:40:17 -04:00
Brad King
941e3bd2b6
Help: Document in find_library how to search for static libraries
...
This has been implemented since commit v2.6.0~295 (Make find_library
test for the library file as named, 2008-02-06). Add the docs.
2015-04-22 09:29:55 -04:00
Brad King
e1c6df392b
ExternalProject: Allow dependencies on INTERFACE libraries
...
Respect INTERFACE library property whitelist. Check that a target has
type "UTILITY" before querying other properties.
2015-04-22 08:48:52 -04:00
Brad King
a61e09948f
Help: Fix formatting of env var refs in ctest.1 manual
2015-04-22 08:30:51 -04:00
Brad King
b5b20d2050
ctest: Treat ENV{CTEST_OUTPUT_ON_FAILURE} as a boolean
...
Having this variable in the environment should not be enough to activate
the behavior. It must also not be set to a false value (or empty value).
2015-04-22 08:27:19 -04:00
Kitware Robot
6b229b4802
CMake Nightly Date Stamp
2015-04-22 00:01:05 -04:00
Brad King
2f4b13b32d
Tests: Protect CTestTestSerialOrder from environment ( #15524 )
...
Reported-by: Stephen Kelly <steveire@gmail.com>
2015-04-21 11:47:42 -04:00
Brad King
c0502faa4b
ExternalProject: Fix error message typo
2015-04-21 11:32:13 -04:00
Brad King
b470d61864
Help: Add notes for topic 'ExternalProject-genex'
2015-04-21 10:51:08 -04:00
Andrey Pokrovskiy
0273ef1469
ExternalProject: Allow generator expressions with LOG_* options ( #15287 )
...
Use file(GENERATE) to write the logging wrapper scripts to evaluate
generator expressions. Use a per-config script names in case the
content varies by configuration.
2015-04-21 10:51:08 -04:00
Andrey Pokrovskiy
7bd8cfb813
ExternalProject: Allow generator expressions in initial cache options
...
Use file(GENERATE) to write the initial cache file so that we can
evaluate generator expressions. Use a per-config initial cache file
name in case the content varies by configuration.
2015-04-21 10:50:29 -04:00
Brad King
1cf43dcf7c
Tests: Add case to cover ExternalProject with subdirectories
...
Add an ExternalProjectSubdir test directory with a minimal test showing
use of ExternalProject_Add for a source tree in a subdirectory. This
will allow us to easily add test external projects that cover specific
behavior where the client project must check results.
2015-04-21 10:40:52 -04:00
Brad King
5a5ef00106
Merge topic 'clean-up-cmMakefile'
...
8dc3a67c
cmMakefile: Out-of-line the directory methods.
0f3c8cfa
cmMakefile: Use method abstraction to access directories.
b288a997
cmMakefile: Rename SetStart* directory API to SetCurrent*.
932d53bc
cmMakefile: Remove redundant method duplication.
32b8f03a
cmMakefile: Port users of GetStart* methods to new names.
54d6a918
cmMakefile: Rename GetCurrent{Output,Binary}Directory.
55d80d0a
cmMakefile: Rename GetCurrent{,Source}Directory.
b23cf06f
cmake: Remove redundant start directories.
fcf246ac
cmMakefile: Populate Home directories on initialize.
8878bea7
cmake: Initialize Home directories on cmake for find-package mode.
044dc815
Use the Home directories from the cmake class where intended.
d67e8f24
cmake: Fix directory used to find the cache
1ea085d1
cmMakefile: Initialize dir definitions early.
f034bb2f
Remove redundant calls to MakeStartDirectoriesCurrent.
3a68c323
cmMakefile: Fix wrong parameter names.
2015-04-21 09:42:07 -04:00
Stephen Kelly
8dc3a67c9c
cmMakefile: Out-of-line the directory methods.
2015-04-21 09:41:27 -04:00
Stephen Kelly
0f3c8cfa96
cmMakefile: Use method abstraction to access directories.
2015-04-21 09:41:27 -04:00
Brad King
81c01d4a34
Merge topic 'disable-cmMakefile-copy'
...
80909041
cmMakefile: Disable copy constructor.
f3af9517
CPack: Don't copy cmMakefile. Just push a scope instead.
2015-04-21 09:39:53 -04:00
Brad King
0d852d4c65
Merge topic 'cpack-deb-component-vars-prepare'
...
c8375e15
CPackDeb: Refactor package variable lookup by generator
2015-04-21 09:39:51 -04:00
Brad King
258ba82882
QtAutogen: Process 'rcc --list' stdout and stderr separately ( #15523 )
...
The stderr may have warning messages. We should not treat these lines
as resource files. However, we must still recognize error message lines
for missing resource files that may be generated.
Extend the QtAutogen test to cover a generated resource as the only one
listed in a .qrc file. This causes 'rcc --list' to print a warning to
stderr that we now intend to ignore.
2015-04-21 09:33:19 -04:00
Brad King
acd4f01fd8
cmQtAutoGenerators: Split CR stripping out to helper function
2015-04-21 09:05:12 -04:00
Domen Vrankar
c8375e15eb
CPackDeb: Refactor package variable lookup by generator
...
Preparation for per component variables.
Patch makes sure we know which variables
will be set for per component generator
and also prevents accidental overflows
of variable values between components.
2015-04-21 08:47:18 -04:00
Brad King
2a28f085a5
Merge topic 'FindCUDA.cmake/Fix-MakeDirDuringSeparableCompilation'
...
0ed22502
FindCUDA: Create output dir while compiling intermediate link file (#15016 )
2015-04-21 08:45:03 -04:00
Brad King
b2289ff654
Merge topic 'cmSystemTools-RunSingleCommand-stderr'
...
356c26eb
cmSystemTools: Teach RunSingleCommand to separate stdout and stderr
2015-04-21 08:45:01 -04:00
Brad King
50eefbb7e3
Merge topic 'cpack-rpm-refactored-file-listing'
...
cd953bf7
Help: Add notes for topic 'cpack-rpm-refactored-file-listing'
76080c32
CPackRPM content listing refactor
152e9b32
CPackRPM package content list code move
2015-04-21 08:44:57 -04:00
Brad King
3961ccb972
Merge topic 'ExternalProject-test-refactor'
...
28429270
Tests: Delay RunCMake.ExternalProject case checks
2015-04-21 08:44:54 -04:00
Kitware Robot
17b0526ee7
CMake Nightly Date Stamp
2015-04-21 00:01:06 -04:00
Stephen Kelly
fcf9cf6cd8
Tests: Make a CTest test deterministic.
...
The test expect sub-test not to run in parallel.
2015-04-21 00:31:02 +02:00
Stephen Kelly
8090904198
cmMakefile: Disable copy constructor.
...
It is no longer necessary to be able to copy it. Additionally, this
gives us one less reason to copy cmTarget.
2015-04-21 00:26:37 +02:00
Stephen Kelly
f3af9517ff
CPack: Don't copy cmMakefile. Just push a scope instead.
2015-04-21 00:21:53 +02:00
Stephen Kelly
b288a997e9
cmMakefile: Rename SetStart* directory API to SetCurrent*.
2015-04-21 00:15:20 +02:00
Stephen Kelly
932d53bc02
cmMakefile: Remove redundant method duplication.
2015-04-21 00:15:20 +02:00
Stephen Kelly
32b8f03acc
cmMakefile: Port users of GetStart* methods to new names.
2015-04-21 00:15:20 +02:00