Brad King
6548e171e3
Merge topic 'fix_truncation_logic_valgrind_output'
...
b35a7730
Fix truncation of valgrind output logic.
2014-08-05 09:22:35 -04:00
Brad King
99f6eab851
Merge topic 'fix_value_not_used'
...
aea40fcb
Fix scan-build warning parsed is never read after being set.
2014-08-05 09:22:33 -04:00
Brad King
8fef9dd271
Merge topic 'pass_output_by_reference'
...
7762fffa
Change output to be a reference and not a pointer.
2014-08-05 09:22:31 -04:00
Brad King
e76b72fa83
Merge topic 'update-kwsys'
...
60c78367
Merge branch 'upstream-kwsys' into update-kwsys
158c6d1c
KWSys 2014-08-04 (e787837a)
2014-08-05 09:22:30 -04:00
Brad King
f174a1cc61
Merge topic 'liblzma-pgi-compiler'
...
2dd17a54
liblzma: Fix compilation with PGI compiler
2014-08-05 09:22:28 -04:00
Brad King
a67b635394
Merge topic 'readme-link-to-issue-tracker'
...
d4557188
README: Add a section explaining how to report bugs
2014-08-05 09:22:26 -04:00
Nate Eldredge
bf89f91034
CheckIncludeFiles: Use modern C declaration for 'main' ( #15058 )
...
Otherwise some compilers will incorrectly fail the checks when certain
warning/error flags are enabled.
2014-08-05 09:09:58 -04:00
Kitware Robot
a6c1d58a09
CMake Nightly Date Stamp
2014-08-05 00:01:08 -04:00
Bill Hoffman
aea40fcb43
Fix scan-build warning parsed is never read after being set.
2014-08-04 15:38:56 -04:00
Bill Hoffman
b35a7730ce
Fix truncation of valgrind output logic.
...
This showed up because scan-build noticed outputFull was basically
a constant. Logic should be output all valgrind output. Then output
regular test output until output limit is reached.
2014-08-04 15:28:48 -04:00
Bill Hoffman
7762fffa23
Change output to be a reference and not a pointer.
...
This avoids having to check the pointer value at each use which
was not being done.
2014-08-04 15:16:40 -04:00
Brad King
60c783676c
Merge branch 'upstream-kwsys' into update-kwsys
2014-08-04 10:16:34 -04:00
KWSys Robot
158c6d1cff
KWSys 2014-08-04 (e787837a)
...
Extract upstream KWSys using the following shell commands.
$ git archive --prefix=upstream-kwsys/ e787837a | tar x
$ git shortlog --no-merges --abbrev=8 --format='%h %s' 65b36ede..e787837a
Ben Boeckel (4):
9927862c SystemTools: more string replacements
b3d598b0 strings: remove unnecessary c_str calls
ffe94132 SystemTools: use char instead of const char*
f29fec7c Directory: accept strings in methods
Rashad M (1):
e787837a SharedForward: Cast away const to call execvp on MinGW 64-bit
Change-Id: I96437b332971670cfcd953717c5563e9ba0f2b99
2014-08-04 10:16:30 -04:00
Chuck Atkins
2dd17a546f
liblzma: Fix compilation with PGI compiler
...
- sha265.c is using some C99 specific features, in particular static
array dimensions in a function parameter array (see section 6.7.5-7
of the C99 spec). A #ifndef check was in place to prevent compilation
under MSVC but it actually needed to check for C99 compliance instead.
Even still, the C99 code fails on a few compilers (PGI being one) so for
compatibility reasons, the C99 version of the function declaration is
removed entirely, leaving only the C89 version.
- CHECK_SYMBOL_EXISTS is used to determine the presense of bswap
functions from byteswap.h. Most compilers re-dedefine the bswap_N
functions as a __bswap_N function implemented by the compiler. Since
bswap_N is usually defined as a macro then it's mere presence passes
the check. Some versions of the PGI compiler though have shipped
broken headers for byteswap.h, in particular 11.3 for x64 linux
provides byteswap.h but is missing an associated bits/byteswap.h which
causes some of the bswap_N macros to be defined but broken and unusable.
The bswap_N checks have been converted to CHECK_SOURCE_COMPILES to
ensure that the bswap_N calls are actually usable and not just merely
defined.
2014-08-04 10:12:51 -04:00
Daniele E. Domenichelli
64eca30dc4
CMakePackageConfigHelpers: Remove unused variable
2014-08-04 10:07:16 -04:00
Brad King
ba60ff99ed
Merge topic 'cmGlobalGenerator-Build-output-ref'
...
30983ebe
cmGlobalGenerator: Take Build output argument by reference
2014-08-04 10:02:28 -04:00
Brad King
ba62b3495b
Merge topic 'vs-internal-system-apis'
...
0a5fe279
VS: Add internal API to get system name and version
2014-08-04 10:02:27 -04:00
Brad King
7338d4c211
Merge topic 'vs-refactor-sln-deploy'
...
fe161dc3
VS: Refactor logic deciding to add "Deploy" to the .sln file
2014-08-04 10:02:25 -04:00
Brad King
4e22fcf215
Merge topic 'vs-vcxproj-missing-newline'
...
66edd065
VS: Add missing newline after .vcxproj user prop import line
2014-08-04 10:02:23 -04:00
Brad King
9d9333b26a
Merge topic 'cpack-options-sort'
...
58f3d96d
CPack: Sort packaging options lexicographically
efb45007
CPack: Expand mark_as_advanced arguments to one-per-line
2014-08-04 10:02:22 -04:00
Brad King
506ed92c68
Merge topic 'fix-check-module-DEFINED-tests'
...
4f2fcce4
Check*: Allow result variables to contain regex special characters (#14923 )
2014-08-04 10:02:20 -04:00
Brad King
e0ff6def71
Merge topic 'check-flag-for-fujitsu'
...
5570d8d3
Check*CompilerFlag: Add pattern for Fujitsu compiler (#15051 )
2014-08-04 10:02:18 -04:00
Brad King
628f02ba35
Merge topic 'link-line-dedup'
...
ccec6df8
Help: Add notes for topic 'link-line-dedup'
9f7e27fc
De-duplicate shared library targets in generated link lines
2014-08-04 10:02:16 -04:00
Brad King
d4557188bb
README: Add a section explaining how to report bugs
...
Suggested-by: Petr Bena <benapetr@gmail.com>
2014-08-04 09:49:49 -04:00
Kitware Robot
1238b3656a
CMake Nightly Date Stamp
2014-08-04 00:01:06 -04:00
Kitware Robot
6e1c35f25c
CMake Nightly Date Stamp
2014-08-03 00:01:13 -04:00
Kitware Robot
ed4b52b025
CMake Nightly Date Stamp
2014-08-02 00:01:09 -04:00
Kitware Robot
b0f6d3eb99
CMake Nightly Date Stamp
2014-08-01 00:01:08 -04:00
Brad King
c1580a9217
VS: Always add IgnoreSpecificDefaultLibraries to .vcxproj files
...
Append %(IgnoreSpecificDefaultLibraries) to any user-specified
libraries so that the system-default list of libraries to ignore
is honored even when the user specifies more.
2014-07-31 14:08:41 -04:00
Brad King
29410df23d
cmIDEOptions: Add an AppendFlag method to update multi-valued options
2014-07-31 14:08:39 -04:00
Brad King
30983ebec1
cmGlobalGenerator: Take Build output argument by reference
...
No call sites pass NULL to the output argument, so take it by
reference to avoid the if(output) conditions. Propagate the
change through the TryCompile APIs that call it.
2014-07-31 12:49:51 -04:00
Brad King
0a5fe2793a
VS: Add internal API to get system name and version
...
Add cmGlobalVisualStudio10Generator::GetSystemName and GetSystemVersion
methods to access the corresponding members publicly.
2014-07-31 10:47:22 -04:00
Gilles Khouzam
fe161dc30d
VS: Refactor logic deciding to add "Deploy" to the .sln file
...
Move the condition to a "NeedsDeploy" virtual method that can be
overridden by more recent VS generators.
2014-07-31 10:46:00 -04:00
Gilles Khouzam
66edd06587
VS: Add missing newline after .vcxproj user prop import line
2014-07-31 10:39:21 -04:00
Brad King
58f3d96d17
CPack: Sort packaging options lexicographically
...
This will allow new options to be added more cleanly.
2014-07-31 10:24:59 -04:00
Brad King
efb45007f9
CPack: Expand mark_as_advanced arguments to one-per-line
...
This will allow new values to be added without editing existing lines.
2014-07-31 10:24:03 -04:00
Brad King
4f2fcce4b9
Check*: Allow result variables to contain regex special characters ( #14923 )
...
Prior to the existence of the if(DEFINED) condition, many of our Check
modules implemented the condition with a hack that takes advantage of
the auto-dereference behavior of the if() command to detect if a
variable is defined. The hack has the form:
if("${VAR} MATCHES "^${VAR}$")
where "${VAR}" is a macro argument reference. However, this does not
work when the variable named in the macro argument contains characters
that have special meaning in regular expressions, such as '+'. Run the
command
git grep -E 'if\("\$\{.*\}" MATCHES "\^\$\{.*\}\$"\)' -- Modules/Check*
to identify lines with this problem. Use if(NOT DEFINED) instead.
2014-07-31 09:48:41 -04:00
Brad King
b48211d426
Merge branch 'release'
2014-07-31 09:40:32 -04:00
Erik Lindahl
5570d8d3f3
Check*CompilerFlag: Add pattern for Fujitsu compiler ( #15051 )
2014-07-31 09:22:02 -04:00
Brad King
9e7d12466e
Merge topic 'cpack-mark-ifw-advanced'
...
5cabc2cd
CPack: Mark CPACK_BINARY_IFW option as advanced
2014-07-31 09:17:47 -04:00
Brad King
b056b8c46c
Merge topic 'cpack-add-lzma-package-options'
...
9d93e099
CPack: Add lzma-compressed package options
2014-07-31 09:17:45 -04:00
Brad King
ba53bc5a9d
Merge topic 'check-flag-avoid-semicolon'
...
cac91206
Check*CompilerFlag: Avoid ';' in common pattern (#15048 )
2014-07-31 09:17:43 -04:00
Brad King
bd642272b9
Merge topic 'fix-CMP0049-extra-error'
...
b2282631
cmTarget: Do not mistake a preceding error for a CMP0049 failure
2014-07-31 09:17:41 -04:00
Brad King
c1560296db
Merge topic 'update_jacoco_search_paths'
...
9fd04f87
CTEST: Update Jacoco Coverage search paths
2014-07-31 09:17:39 -04:00
Brad King
2ba18f6284
Merge topic 'cpack-ifw-generator'
...
e7511b7f
CPackIFW: Add package configuration variables
b2340001
CPackIFW: Document cpack_ifw_configure_component DEPENDS option
2014-07-31 09:17:37 -04:00
Brad King
9f575a26fd
Merge topic 'pdb-genex'
...
f86850ef
Genex: Implement generator expressions for target PDB files.
028ad318
Genex: Simplify filesytem artifact code
2014-07-31 09:17:35 -04:00
Nils Gladitz
f86850ef60
Genex: Implement generator expressions for target PDB files.
2014-07-31 09:17:53 -04:00
Kitware Robot
202b7d12eb
CMake Nightly Date Stamp
2014-07-31 00:01:24 -04:00
Brad King
5cabc2cd43
CPack: Mark CPACK_BINARY_IFW option as advanced
...
All similar options are already marked.
Suggested-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
2014-07-30 16:00:06 -04:00
Daniel Pfeifer
9d93e099e6
CPack: Add lzma-compressed package options
...
Add options to package binary and source tarballs:
CPACK_BINARY_7Z
CPACK_BINARY_TXZ
CPACK_SOURCE_7Z
CPACK_SOURCE_TXZ
2014-07-30 15:56:34 -04:00