| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
e1da4dc2 CheckStructHasMember: fix null deref warning (#15413)
|
| |
| |
| |
| |
| |
| | |
Clang Static Analyzer is so smart that it reports a defect when this
intended null-deref is encountered. Use sizeof instead which has no
runtime effects.
|
|\ \
| | |
| | |
| | |
| | | |
b4005a3a FindCurses: Drop unused check for cbreak in tinfo library
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This check was first added by commit v3.0.0-rc5~6^2 (FindCurses: Detect
and satisfy ncurses dependency on tinfo, 2014-01-17), but it is not
correctly conditioned on existence of the tinfo library and fails if the
code path is taken but tinfo is not found. However, since commit
v3.2.0-rc1~369^2 (FindCurses: Drop search for deprecated HP-UX cur_colr
library, 2014-11-17) the result of the check is not used, so simply drop
it.
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | | |
a41d621d bootstrap: Add --(no-)system-jsoncpp options
a5768442 FindJsonCpp: Drop new module due to upstream jsoncpp providing package
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since jsoncpp 0.7.0 (2014-11-20) the upstream may provide a CMake
package configuration file such that find_package(jsoncpp) will find a
jsoncppConfig.cmake file. In order to avoid conflicting with this
(especially on case-insensitive filesystems), and since we always prefer
projects to provide package config files (that they maintain), it is
better to not provide FindJsonCpp publicly.
Move FindJsonCpp into a private source directory that is not installed
so that we can still use it for building CMake itself.
Reported-by: Ryan Pavlik <ryan.pavlik@gmail.com>
|
|\ \
| | |
| | |
| | |
| | | |
d1cf09e3 CMakeParseImplicitLinkInfo: Avoid if() auto-deref in quoted arg
|
| | |
| | |
| | |
| | |
| | |
| | | |
When matching implicit library names, use a sentinel "x" to avoid
ever expanding the library name as a variable. This was detected
by a CMP0054 warning.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
a0f17fbe Windows-GNU: Do not tell find_library to treat '.dll' as linkable
|
| |/ /
| | |
| | |
| | |
| | | |
Modern software distributions always use a separate ".dll.a" or ".lib"
import library for linking.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4cf3589e Help: Add notes for topic 'compiler-version-Fortran'
f611406f Fortran: Test that CMAKE_Fortran_COMPILER_VERSION is set (#15372)
c6e1f464 Fortran: Detect G95 compiler version
0033faac Fortran: Detect PGI compiler version
302d47b1 Fortran: Detect XL and VisualAge compiler versions
8c8b77a5 Fortran: Detect GNU compiler version
49562a77 Fortran: Detect PathScale compiler version
aa77b631 Fortran: Detect SunPro compiler version
2e09c423 Fortran: Detect Intel compiler version
e6ebc814 Fortran: Add infrastructure to detect compiler version (#15372)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The __G95__ and __G95_MINOR__ preprocessor symbols encode the compiler
version as decimal digits.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Port logic from the "Compiler/PGI-DetermineCompiler" module into
"CMakeFortranCompilerId.F.in".
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Port logic from the "Compiler/XL-*-DetermineCompiler" and
"Compiler/VisualAge-*-DetermineCompiler" modules into
"CMakeFortranCompilerId.F.in".
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Port logic from the "Compiler/GNU-DetermineCompiler" module into
"CMakeFortranCompilerId.F.in".
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Port logic from the "Compiler/PathScale-DetermineCompiler" module into
"CMakeFortranCompilerId.F.in".
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Port logic from "Compiler/SunPro-*DetermineCompiler" modules into
"CMakeFortranCompilerId.F.in".
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Port logic from the "Compiler/Intel-DetermineCompiler" module into
"CMakeFortranCompilerId.F.in".
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fortran does not offer syntax to compose a string literal at
preprocessing time from numeric compuations. Instead encode each digit
of each component as a separate INFO string and compose them in CMake
code after extraction. Support MAJOR, MINOR, PATCH, and TWEAK
components with up to 8 digits each.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
bce4e20f FindJNI: Add arch-specific library dir for JDK 9 layout (#15408)
|
| |/
| |
| |
| |
| | |
JDK9's directory structure changes and no jdk/jre exists. The arch
lib path is now jdk/lib/<arch> (instead of jdk/jre/lib/<arch>).
|
| |\ |
|
| |\ \ |
|
| | | | |
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | | |
e2a8984c FindCoin3D: Drop link to project homepage
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The project has moved from <http://www.coin3d.org/> to
<https://bitbucket.org/Coin3D/coin/wiki/Home>. Simply drop the
out-dated link. Few find modules have links to the project sites.
Anyone looking to use a given find module likely already knows about the
project it finds and can use a search engine to find its homepage.
|
|\ \ \ \
| | |_|/
| |/| |
| | | |
| | | | |
be36bfd6 CPackRPM: Do not run file(GLOB_RECURSE) without CMP0009 set to NEW
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
The file(GLOB_RECURSE) call added by commit 3ec02547 (CPackRPM: Allow
multiple path relocation prefixes for one package, 2015-01-21) should
not follow directory symlinks, so make sure CMP0009 is set to NEW.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
a27c13f4 BundleUtilities: Teach fixup_bundle to check install_name_tool result
|
| | | |
| | | |
| | | |
| | | | |
Fail explicitly if install_name_tool fails to make an update we need.
|
|/ / /
| | |
| | |
| | |
| | | |
Ruby 2.0.0 and 2.1.5 have 64-bit binaries for Windows, with "x64-"
prefix.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
3d99355b CPackRPM: Fix recognition of absolute relocation paths
|
| |/
| |
| |
| |
| | |
Fix typo in logic added by commit 3ec02547 (CPackRPM: Allow multiple
path relocation prefixes for one package, 2015-01-21).
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
1814cf74 Help: Add notes for topic 'add-CheckFortranCompilerFlag'
54e900ab CheckFortranCompilerFlag: Add test case
393a45e2 CheckFortranCompilerFlag: Add module to check Fortran flag existence
|
| |/
| |
| |
| |
| |
| | |
Copy the CheckCCompilerFlag module and replace 'C' with 'Fortran'.
Also update the common patterns module to match some Fortran compiler
messages.
|
|/
|
|
|
| |
Split Boost_LIBRARY_DIR into Boost_LIBRARY_DIR_[RELEASE,DEBUG] to allow
libraries to be grouped into per-config directories.
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
fb3487a9 Features: Fix C90 feature detection.
6027798a Features: Allow setting standard dialect below the default.
9d767810 Features: Populate CMAKE_<LANG>_STANDARD_DEFAULT only for supported compilers.
72537e44 Features: Add dialect compile flags only if default is known.
82c9d686 AppleClang: Remove redundant UNIX condition.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This bug caused c_function_prototypes to not be recorded at configure
time when compiling with -std=gnu99 or similar. In the case of feature
recording, that was not a problem, because the logic in
CMakeDetermineCompileFeatures.cmake currently assumes that a feature
present for an earlier standard is present for a later standard.
However, the detection strings are also used in WriteCompilerDetectionHeader,
so the feature macro has been defined to '0' when using a later language
dialect.
Fix that by not checking the existence of the __STDC_VERSION__ macro at
all when detecting C90 features.
|
| |
| |
| |
| |
| |
| | |
If no compiler feature information is known for a given compiler
version, do not set a language standard default either. The two
settings must be recorded consistently.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When targeting Windows with a 64-bit architecture, use "$PROGRAMFILES64"
to get the Program Files folder. Use CMAKE_SIZEOF_VOID_P to check for
the architecture size instead of CMAKE_CL_64 because the latter is not
defined for all compilers.
Inspired-by: Hugh Sorby <h.sorby@auckland.ac.nz>
Inspired-by: İsmail Dönmez <ismail@donmez.ws>
|
|\ \
| | |
| | |
| | |
| | | |
467f5bcc MSVC: Fix initialization of RelWithDebInfo shared library link flags (#15385)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Initialize CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT from the value
of CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT rather than the one for
the DEBUG configuration. This typo has been present since the logic was
first added in commit 36db45082e (ENH: fix up several problems with new
stuff, 2002-11-11).
Reported-by: Gunnar Roth <gunnar.roth@gmx.de>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
809a5a5e Help: Add notes for topic 'CTestCoverageCollectGCOV-refinements'
03c0812c CTestCoverageCollectGCOV: Fix handling of international characters
8caa4e72 CTestCoverageCollectGCOV: Add test case
5c828cc8 CTestCoverageCollectGCOV: Allow custom flags to gcov
30cb628e CTestCoverageCollectGCOV: Fix handling of large file counts
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When loading the list of target support directories, read the file
with UTF-8 encoding since that is what CMake writes into the file.
This allows us to support international characters in the path to
the build tree containing the target support directories.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add a GCOV_OPTIONS option to allow specification of custom flags. In
ctest_coverage gcov support, if you set CTEST_COVERAGE_EXTRA_FLAGS, they
get put on the command line before the -o. In this case we remove the
-b and replace it with GCOV_OPTIONS. All other arguments remain the
same.
|
| | | |
| | | |
| | | |
| | | | |
Use the --files-from option to tar to handle lots of files.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
3ec02547 CPackRPM: Allow multiple path relocation prefixes for one package
|
| | | | | |
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | | |
Trunk already has these features and they are listed in the status
page. Also confirmed manually by running trunk.
|