Brad King
489b1c23b9
Windows: Use response files to specify link libraries for GNU tools
...
Work around the command-line-length limit by using an @linklibs.rsp
response file to pass the flags for link libraries. This allows
very long lists of libraries to be used in addition to the existing
support for passing object files via response file.
Suggested-by: Peter Keuschnigg <peter.keuschnigg@pmu.ac.at>
2014-03-05 13:07:41 -05:00
Brad King
745caae6dd
Makefile: Rename linker response file boolean to be more specific
...
Rename local variable useResponseFile to useResponseFileForObjects
when it represents CMAKE_<LANG>_USE_RESPONSE_FILE_FOR_OBJECTS.
2014-03-05 08:54:14 -05:00
Brad King
5e8e4d0f88
cmLocalGenerator: Add response file option to OutputLinkLibraries
...
Response files require different path conversion to be threaded
through construction of the link libraries flags.
2014-03-04 13:41:59 -05:00
Brad King
b9aa504198
cmLocalGenerator: Simplify GetIncludeFlags output formatting
...
Use the output format argument to ConvertToIncludeReference.
2014-03-04 13:12:54 -05:00
Brad King
971653b767
cmLocalGenerator: Add format option to ConvertToLinkReference
...
Replace the hard-coded SHELL output format with an optional argument.
2014-03-04 13:12:47 -05:00
Brad King
0c0ef9e7b7
cmLocalGenerator: Add format option to ConvertToIncludeReference
...
Replace the hard-coded SHELL output format with an optional argument.
2014-03-04 13:04:02 -05:00
Brad King
02bebd60e9
cmLocalGenerator: Add format option to ConvertToOutputForExisting
...
Replace the hard-coded SHELL output format with an optional argument.
2014-03-04 12:58:57 -05:00
Brad King
c87517099a
Makefile: Factor out some duplicate link libraries generation
...
The generators for executable and library targets duplicate the logic to
call the OutputLinkLibraries helper on the local generator. Factor it
out into a cmMakefileTargetGenerator::CreateLinkLibs method to avoid
dpulication.
2014-03-04 11:20:27 -05:00
Kitware Robot
74b982ce73
CMake Nightly Date Stamp
2014-03-04 00:01:05 -05:00
Brad King
8982a4b301
Merge topic 'add_definitions-no-genex'
...
1a9316a8
add_definitions: Don't document genex support.
2014-03-03 10:32:05 -05:00
Brad King
d838c477ae
Merge topic 'CMP0043-dir-prop'
...
38df26bc
CMP0043: Document old and new interfaces for setting directory property.
2014-03-03 10:31:53 -05:00
Stephen Kelly
38df26bc6f
CMP0043: Document old and new interfaces for setting directory property.
2014-03-03 10:11:19 -05:00
Stephen Kelly
1a9316a808
add_definitions: Don't document genex support.
...
This command does not support generator expressions. The documentation
was mistakenly extended to claim it in commit v3.0.0-rc1~60^2~3 (Help: Mark
up the buildsystem commands documentation, 2014-02-03).
2014-03-03 10:10:39 -05:00
Brad King
909c0533d0
Merge topic 'wix-additions'
...
642fa25d
CPackWIX: support installation of empty directories
378eb5b7
CPackWIX: Allow Windows Installer property customization
2014-03-03 10:06:25 -05:00
Brad King
d57bc8797d
Merge topic 'FindRuby-2'
...
57abfeaa
Help: Add FindRuby-2 topic release notes
165f6430
FindRuby: Add support for Ruby 2.0 and 2.1
2014-03-03 10:06:24 -05:00
Brad King
23a654706e
Merge topic 'remove-compatibility-ctest'
...
4b67c4b9
Remove compatibility CTest code.
2014-03-03 10:06:23 -05:00
Brad King
ae215492cf
Merge topic 'watcom-wlib-quoting'
...
5c5be193
Watcom: Fix static library name quoting for wlib
2014-03-03 10:06:21 -05:00
Brad King
21c3a71eb6
Merge topic 'watcom-dll-no-symbols'
...
00503d38
Watcom: Fix creation of DLLs without any exported symbols
2014-03-03 10:06:20 -05:00
Brad King
c32ac3331f
Merge topic 'different-python-header-libs-exe-0013794'
...
3816cd2d
FindPythonLibs: Find consistent Python interp, headers, libs (#13794 )
2014-03-03 10:06:19 -05:00
Matt McCormick
3816cd2dc7
FindPythonLibs: Find consistent Python interp, headers, libs ( #13794 )
...
When possible, get consistent version of the Python interpreter, headers path,
and library.
Now find_package(PythonLibs) internally calls find_package(PythonInterp
QUIET) and uses the resulting PYTHON_VERSION_MAJOR and
PYTHON_VERSION_MINOR to prefer these versions when looking for the
header path and library. The Python_ADDITIONAL_VERSIONS variable has
priority over the interpreter version.
Co-Author: Adam Wolf
Co-Author: Gert Wollny <gw.fossdev@gmail.com>
2014-03-03 10:02:35 -05:00
Kitware Robot
ace6fa5a8b
CMake Nightly Date Stamp
2014-03-03 00:01:05 -05:00
Kitware Robot
115ffb0e4d
CMake Nightly Date Stamp
2014-03-02 00:01:09 -05:00
Nils Gladitz
642fa25da0
CPackWIX: support installation of empty directories
2014-03-02 00:51:42 +01:00
Nils Gladitz
378eb5b712
CPackWIX: Allow Windows Installer property customization
2014-03-01 23:13:35 +01:00
Kitware Robot
c0afb88675
CMake Nightly Date Stamp
2014-03-01 00:01:10 -05:00
Jiri Malak
5c5be193cf
Watcom: Fix static library name quoting for wlib
...
Use double-quotes instead of single-quotes around the static library
target name in 'wlib' invocations.
2014-02-28 13:34:59 -05:00
Brad King
451b55f3ae
Merge topic 'release-aix-access'
...
f0f2b21d
Utilities/Release: Update IBM AIX build machine access
71b14dcb
Utilities/Release: Do not upload doc staging tarball
2014-02-28 09:48:43 -05:00
Brad King
937714c037
Merge topic 'vs-Fortran-use-OBJECT-lib'
...
0f55f254
VS: For Intel Fortran .vfproj put OBJECT libs in link line (#14777 )
2014-02-28 09:48:41 -05:00
Brad King
a4656986e1
Merge topic 'tests-RunCMake-no-unused'
...
7cd239ed
Tests/RunCMake: Tell cmake not to report unused command-line options
2014-02-28 09:48:40 -05:00
Brad King
eafd2a8511
Merge topic 'FindPkgConfig-PKG_CONFIG'
...
80aa18b4
Help: Add release notes for topic 'FindPkgConfig-PKG_CONFIG'
c53b5cd2
FindPkgConfig: Prefer PKG_CONFIG to find pkg-config (#13175 )
2014-02-28 09:48:38 -05:00
Brad King
e62102bef1
Merge topic 'FindGTest-AUTO-SOURCES'
...
ac42bca8
Help: Add FindGTest-AUTO-SOURCES topic release notes
c50325b8
FindGTest: Optionally detect sources automatically (#14775 )
2014-02-28 09:48:36 -05:00
Brad King
f23cc1d3d8
Merge topic 'test-find_dependency'
...
0bba365f
Add test for find_dependency macro.
2014-02-28 09:48:35 -05:00
Brad King
18646dd397
Merge topic 'qt4-overlink'
...
b94ecab6
FindQt4: prevent overlinking when using UseQt4.cmake.
2014-02-28 09:48:34 -05:00
Brad King
47896189aa
Merge topic 'no_gcov_error_msg'
...
0a6f0280
CTest: notify user if gcov cannot be found
2014-02-28 09:48:32 -05:00
Brad King
27defbd6d4
Merge topic 'add-FindOpenCL'
...
1b08e609
Help: Add release notes for topic 'add-FindOpenCL'
041485bc
Add FindOpenCL module
2014-02-28 09:48:30 -05:00
Brad King
a2215197ff
Merge topic 'wix-refactor'
...
6fcd835c
CPackWIX: refactor and cleanup
2014-02-28 09:48:28 -05:00
Brad King
2a93843f3f
Merge topic 'ExternalProject-BUILD_ALWAYS'
...
755b378e
Help: Add ExternalProject-BUILD_ALWAYS topic release notes
2014-02-28 09:48:27 -05:00
Brad King
244b7696ed
Merge topic 'FindHg-add-WC_INFO'
...
02a74a7d
Help: Add FindHg-WC_INFO topic release notes
2014-02-28 09:48:25 -05:00
Brad King
80aa18b4a8
Help: Add release notes for topic 'FindPkgConfig-PKG_CONFIG'
2014-02-28 09:48:20 -05:00
Zack Galbreath
0a6f028067
CTest: notify user if gcov cannot be found
...
Emit an error message when we're performing coverage using
gcov and the gcov executable cannot be found.
2014-02-28 09:23:03 -05:00
Brad King
1b08e6095b
Help: Add release notes for topic 'add-FindOpenCL'
2014-02-28 09:18:06 -05:00
Stephen Kelly
4b67c4b94c
Remove compatibility CTest code.
2014-02-28 14:55:47 +01:00
Brad King
57abfeaac5
Help: Add FindRuby-2 topic release notes
2014-02-28 08:47:12 -05:00
Bas Couwenberg
165f6430d9
FindRuby: Add support for Ruby 2.0 and 2.1
...
The most significant change since Ruby 1.9 is the changed path of
config.h, from RbConfig::CONFIG['rubyhdrdir'] to
RbConfig::CONFIG['rubyarchhdrdir'].
2014-02-28 08:41:33 -05:00
Kitware Robot
a3a178fcac
CMake Nightly Date Stamp
2014-02-28 00:01:06 -05:00
Brad King
00503d387e
Watcom: Fix creation of DLLs without any exported symbols
...
Create each DLL import library by passing "option implib=..." to the
linker for its SHARED library. This works even when there are no
symbols to be exported. Leave the option out for MODULE libraries
because we do not need an import library for them. For executables,
retain the separate invocation of wlib because we want an import
library only when the ENABLE_EXPORTS property is set, and in that
case the project should provide symbols.
Suggested-by: J Decker <d3ck0r@gmail.com>
2014-02-27 16:22:28 -05:00
Brad King
7cd239ed38
Tests/RunCMake: Tell cmake not to report unused command-line options
...
On OS X we pass -DCMAKE_POLICY_DEFAULT_CMP0025=NEW to all tests.
Once tests start using cmake_minimum_required(VERSION 3.0) then
CMake will warn that CMAKE_POLICY_DEFAULT_CMP0025 is unused.
These warnings are not part of the expected test output and can
cause such tests to fail. Pass --no-warn-unused-cli to each test
cmake invocation to tell it not to produce these warnings.
2014-02-27 13:25:23 -05:00
Brad King
f0f2b21d52
Utilities/Release: Update IBM AIX build machine access
2014-02-27 13:03:29 -05:00
Christoph Grüninger
c53b5cd221
FindPkgConfig: Prefer PKG_CONFIG to find pkg-config ( #13175 )
...
If the environment variable PKG_CONFIG is set, use this as the
default pkg-config executable.
2014-02-27 10:29:01 -05:00
Brad King
0f55f2547f
VS: For Intel Fortran .vfproj put OBJECT libs in link line ( #14777 )
...
The Intel Fortran .vfproj format accepts the $(Configuration) placeholder
in the path to an input file but appears to consider it always out of
date. Therefore adding OBJECT library objects as external object source
files causes the referencing binary to re-link on every build. Work
around this problem by putting OBJECT library objects on the link line
as is done for VS < 8 already.
2014-02-27 09:53:16 -05:00