| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Add "C:\Cygwin64" to the list of Cygwin search paths.
|
|\
| |
| |
| |
| |
| |
| | |
5a9c4aeb FindMatlab: CUSTOM_TEST_COMMAND documentation fix
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1086
|
| |
| |
| |
| |
| | |
Documentation states CUSTOM_MATLAB_COMMAND, while code uses CUSTOM_TEST_COMMAND.
Addresses issue #17107
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
e42fa012 Allow early access version trailing string to be mixed case
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: Felix Geyer <debfx@fobos.de>
Merge-request: !1080
|
| | |
| | |
| | |
| | |
| | | |
The original regex was expecting to match strings like "ea", but it has
been reported that other strings like "Debian" are also possible.
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
eddbd62d FindBoost: pop policy stack before returning
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1078
|
| |/
| |
| |
| |
| | |
CMake would give a fatal error if the policy stack was cleaned up
upon exiting the module.
|
| |\ |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
4637cc8f CheckSymbolExists: Rename implementation macro
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1067
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently the implementation macro for `check_symbol_exists` is
`_check_symbol_exists`, which impedes CMake users from overriding the
`check_symbol_exists` macro themselves.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
29a5cf7c CPack: Add missing options to installer shell script help
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1068
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
`--version` and `--skip-license` were not in the list of
available options when running script with `--help` option.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
8842a027 ExternalProject: Improve documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1037
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Added clearer structure by grouping the options into logical sections.
- Expanded the details for many of the options.
- Added Examples section to show how to use the various commands.
- Specifically highlighted that the contents of SOURCE_DIR may be lost
if a download method is also provided.
- Updated argument-matching regex to be more robust and account for the
varying leading spaces before keywords in the docs.
- Updated tests to account for slightly changed error messages.
|
|\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
131c721f MSVC: Add flags for C++ language standards
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1063
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Visual Studio 2015 Update 3 introduced the notion of language standard
levels to MSVC. The language standard level is defined in `_MSVC_LANG`
instead of `__cplusplus`. It also added support for the `-std:c++14`
and `-std:c++latest` flags, although the compiler defaults to its C++14
mode anyway. Visual Studio 2017 Update 3 will introduce support for the
`-std:c++17` flag.
Fixes: #16482
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
8eb1cb3f GHS: Correct the regex for the intXXXX directory detection.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1062
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
The int directory does not only need to contain digits.
E.g. C:\GHS\int409a is a valid Green Hills installation
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
a1b38865 FindLibXml2: Switch to standard module variable names
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1043
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* LIBXML2_INCLUDE_DIR talks about libxml2 itself;
* LIBXML2_INCLUDE_DIRS lists also include directories coming from
libxml2's dependencies and is what libxml2 users should use;
* LIBXML2_LIBRARY talks about libxml2 itself;
* LIBXML2_LIBRARIES is what libxml2 users should link to.
This commit doesn't break existing users of FindLibXml2.cmake,
but provides the way for correct behaviour in future. In particular,
on OpenBSD LIBXML2_INCLUDE_DIR resolves to /usr/local/include/libxml2,
while libiconv (an libxml2 dependency) puts iconv.h
in /usr/local/include, which is not picked up automatically.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
336c4fc6 CMakeDetermineASMCompiler: fix a CMP0054 warning
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1057
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This was introduced in commit d8e6cd9e (IAR: Improve support for IAR ARM
Compiler, 2017-06-15) from !991.
Fixes #17062.
|
|\ \ \ \ \
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
712af07e CUDA: CMAKE_EXPORT_COMPILE_COMMANDS now works with CUDA and Ninja
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1055
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes: #17061
|
|\ \ \ \ \
| |_|/ / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
fda50a08 CMakePushCheckState: Fix cmake_push_check_state RESET argument
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1040
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This option was added by commit v2.8.12~138^2 (Add
cmake_reset_check_state() macro, 2013-07-28) but has never worked.
Fix the implementation to refer to macro arguments properly (not as
normal variables).
Fixes: #17048
|
|\ \ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
4bafa392 Android: Always add standard include directories last
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1052
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The logic added in commit v3.6.0-rc1~30^2 (Add a variable to specify
language-wide system include directories, 2016-05-24) to use
`CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES` incorrectly filters them by
`CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES`. Rather than recognizing
this, commit v3.8.0-rc1~60^2 (Android: Pass sysroot include directory
explicitly, 2017-01-20) worked around the problem by incorrectly
removing `/usr/include` from `CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES`
so it worked in `CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES`.
By not filtering out `/usr/include` from user-specified include
directories, we allow the code
include_directories(${CMAKE_SYSROOT}/usr/include)
to place the include directory too early on the command line.
Fix support for standard include directories to not be filtered by
implicit include directories, and do not remove `/usr/include` from the
list of implicit include directories for Android builds. Add a test
case to verify that an explicit `/usr/include` is ignored in favor
of the standard directory at the end.
Fixes: #17059
|
| |\ \ |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
c281acf8 FindProtobuf: add target for protoc
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1045
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
376dc3eb Help: Add notes for topic 'labels_for_subprojects'
a70d8e93 Add tests for new directory labels and labels-for-subprojects features
47b3a57c Display subproject timing summary
d3859624 Add directory property 'LABELS' and CMAKE_DIRECTORY_LABELS variable
d08ec4d2 Add CTEST_LABELS_FOR_SUBPROJECTS as a CTest module and script variable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1004
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use this variable to specify a list of labels that will be reported to
CDash as subprojects.
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | / /
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
e0fb3f31 Android: Link to android_support with c++_shared
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1048
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The NDK has done this in `build/core/definitions.mk` since r13
(r12 and below do so only for c++_static).
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
6b2bf575 FindMFC: Check for static MFC variant
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1034
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | | |
Some CMake applications can set /MT without setting CMAKE_MFC_FLAG.
This change lets FindMFC work in those situations.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
3cf267cf FindPkgConfig: do not always rerun pkg_check_modules() with 2 arguments
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1036
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since commit v3.8.0-rc1~47^2 (FindPkgConfig: Recheck pkg-config on
parameter change, 2017-01-17) calling `pkg_check_modules` always
re-runs. The problem is that if there are only 2 arguments passed to
`pkg_check_modules```, then `_module0` will be set and `ARGN` will be
empty. When this is written to cache it will be stored as just the
value of `_module0` without any semicolon, so on the next run this
doesn't match the expected value and the search is rerun.
Revise the logic to handle the case of empty `ARGN` separately.
Fixes: #17003
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
6848ff4c FindHDF5: Define H5_BUILT_AS_DYNAMIC_LIB when using Windows DLLs
6f131f49 FindHDF5: Add support for HDF5_USE_STATIC_LIBRARIES on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1023
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When searching for shared libraries on Windows, add
H5_BUILT_AS_DYNAMIC_LIB to HDF5_DEFINITIONS so that the header file
knows how to dllimport the symbols.
|
| |/ / /
| | | |
| | | |
| | | | |
Also add the `_D` suffix for debug libraries.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
d8e6cd9e IAR: Improve support for IAR ARM Compiler
0b1a2876 Add a CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID variable
fea7d69d Store CMAKE_ASM_COMPILER_VERSION persistently
d2a8b5ce CMakeDetermineASMCompiler: Fix small copy-paste mistake
a2112257 Add infrastructure to use language extensions without any standard
8cd28bb0 cmLocalGenerator: Switch order of <LANG>_{EXTENSIONS,STANDARD} check
0fc2d78e cmLocalGenerator: Simplify logic for language standard or extension flag
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !991
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Make the implementation for this compiler more complete.
IAR has multiple C++ modes, historically they were reduced c++ versions
for embedded that gradually improved to the full standard (which can be
reduced again by e.g. disabling rtti and exceptions). The new
implementation picks the best available, but the c++ mode can also be
overridden by defining `CMAKE_IAR_CXX_FLAG`.
Add C/C++ standard flags so that all modes up to and including the last
supported standard are defined.
Fixes: #16826
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Compilers such as MSVC and IAR may have variants that target different
architectures. We have been using a `MSVC_<LANG>_ARCHITECTURE_ID`
variable to hold this information for MSVC. Add an alternative with a
more general name (later we can port MSVC to it too).
This additional information may be needed to generate proper invocations
of the compiler based on its architecture variant.
|
| | | | |
| | | | |
| | | | |
| | | | | |
We already do this for other languages like C and CXX.
|
| | | | |
| | | | |
| | | | |
| | | | | |
GNU is not a vendor of IAR.
|
|\ \ \ \ \
| |_|/ / /
|/| | | /
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
796b8fcb FindDoxygen: Create DOXYGEN_OUTPUT_DIRECTORY if it doesn't exist
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !1019
|
| | | |
| | | |
| | | |
| | | |
| | | | |
If the doxygen output directory does not exist, create it prior to
running the doxygen commands.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
97a9a356 FindDoxygen: Use a stable reference to the location of global resources
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1014
|