- Apr 09, 2019
-
-
Problem appeared in d6475daa (Modules/CTest: Set SubmitURL, 2018-12-08). Fixes: #19099
-
- Apr 08, 2019
-
-
Brad King authored
In some cases GCC reports *relative* implicit include directories. They are computed adaptively with respect to the current working directory such that the effective implicit include directory is an unchanging absolute path. Teach our implicit include directory extraction to recognize such paths and normalize them. Fixes: #19133
-
Bartosz Kosiorek authored
-
- Apr 04, 2019
-
-
Brad King authored
Since VS 2017's v141 toolset there is no longer a simple equation to calculate the redist name, dll version, and VS IDE version from just the MSVC toolset version. Refactor the logic to use hard-coded values and warn when a new version is not supported. Fixes: #19125
-
- Apr 03, 2019
-
-
Brad King authored
Since commit 8f8d0560 (ARMCC: Fix identification of ARM compiler when it defines GNU macros, 2019-03-20, v3.14.1~10^2) we consider ARMCC before Clang or GNU compilers. Since armclang also defines `__ARMCC_VERSION` it is now mistaken for ARMCC. Extend the check for ARMCC to also verify that `__clang__` is not defined. Issue: #19065
-
Marc Chevrier authored
Fixes: #19097
-
Claudio authored
FindGLEW temporarily changes the content of CMAKE_FIND_LIBRARY_SUFFIXES to look for static and dynamic GLEW library. However, it wasn't storing and restoring the initial content of such variable, causing possible issues in user project.
- Mar 29, 2019
-
-
Connor Davis authored
Check if the CMAKE_ASM_NASM_COMPILE_OBJECT variable is set before modifying it. Only modify if not previously set.
-
Damien authored
When a dependency was already found, find_dependency did not search it again. While this works in basic case, it does not when there are components as the check does not take components into account. Given the fact that there is no documentation about this optimization and that the correct implementation is not trivial as it would require changes in find_package to have the list of components already found we always search dependencies. Fix #17583.
-
-- Rename platform script so it runs before initial try_compile() in project() command. -- Fix incorrect variable name GHS_OS_DIR_OPTION -- Remove unnecessary ".*" from REGEX expression for GHS_CANDIDATE_OS_DIRS -- Forward GHS_OS_DIR_OPTION to try_compile() and preserve trailing whitespace of the variable.
-
Brad King authored
The implicit include directory extraction added by commit 5990ecb7 (Compute implicit include directories from compiler output, 2018-12-07, v3.14.0-rc1~108^2) leaves paths like `/usr/lib/../include` unchanged. Fix the logic to canonicalize such paths (e.g. to `/usr/include`) as we do for implicit link directories already. This is important to ensure the set of implicit directories is represented in the same form as the include directories that will be compared to them. Issue: #19095
-
- Mar 28, 2019
-
-
Both commit 88ecfd8b (CPackIFW: Add some options, 2016-11-11, v3.8.0-rc1~248^2) and commit e5089c56 (CPackIFW: Add some options, 2017-01-24, v3.8.0-rc1~53^2) added some options to this macro's documentation and implementation, but the actual processing of the parsed options was never added. Add it now. Reviewed-by:
Konstantin Podsvirov <konstantin@podsvirov.pro>
-
- Mar 27, 2019
-
-
Robert Maynard authored
-
Robert Maynard authored
Previously compilers that had full support for a language standard level was forced to verify this every time a new build directory was created. Now we record this information and insert the correct granular compile features instead of doing a try_compile.
-
- Mar 26, 2019
-
-
Brad King authored
Our documented standard for find module variable names is to match the case of the find module package name. This was overlooked when the module was added by commit 84e7920b (FindFontconfig: Add module to find Fontconfig, 2018-09-27, v3.14.0-rc1~523^2). The module was released with the upper case names in CMake 3.14.0, so fix it to have camel case names in 3.14.1. This is incompatible but anyone using a given release series should be using the latest patch on it and we've made breaking fixups on newly released features like this before. Reported-by:
Christophe Giboudeaux <christophe@krop.fr> Fixes: #19094
-
- Mar 25, 2019
-
-
Brad King authored
Any `include_directories()` calls in toolchain files are used during our ABI detection step even though it does not include any system headers. Since commit 5990ecb7 (Compute implicit include directories from compiler output, 2018-12-07, v3.14.0-rc1~108^2), that check is also used to detect implicit include directories. Any `include_directories()` in a toolchain file are detected as implicit and later excluded from explicit specification on compiler command lines, thus breaking the purpose of the calls in the first place. Fix the implicit include directory detection step to avoid using paths from `include_directories()` calls in the toolchain file. Fixes: #19079
-
- Mar 21, 2019
-
-
- Mar 20, 2019
-
-
Fixes: #15805
-
-
Robert Maynard authored
Previously Compilers always had to run a try_compile to determine what language level each feature mapped to. Now we can skip the try_compile when a language level has no features.
-
Brad King authored
According to ARMCC 5.06 documentation: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0472m/chr1359125007083.html the compiler may define `__GNUC__` in addition to `__ARMCC_VERSION`. Re-order our preprocessor checks to consider the ARM-specific macro first so that the ARM compiler is not mistaken for a GNU compiler. Fixes: #19065
-
- Mar 19, 2019
-
-
Rolf Eike Beer authored
These are added through CMAKE_SYSTEM_PREFIX_PATH on the platforms automatically.
-
Bartosz Kosiorek authored
-
Bartosz Kosiorek authored
-
- Mar 18, 2019
-
-
Resolve issue building with missing variable declarations, error: ``` /src/cmake_clang/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_LONG.c:24:6: error: no previous extern declaration for non-static variable 'info_size' [-Werror,-Wmissing-variable-declarations] char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ^ 1 error generated. ```
-
-
- Mar 15, 2019
-
-
Mario Emmenlauer authored
Fixes: #19052
-
Chuck Atkins authored
-
Replicate behaviour of upstream GLEW. * define the imported target GLEW::glew for the shared library GLEW * if GLEW_USE_STATIC_LIBS is defined and set to TRUE, this module instead defines the imported target GLEW::glew_s for the static library GLEW * an imported target GLEW::GLEW is created as a copy of either GLEW::glew or GLEW::glew_s * by setting GLEW_VERBOSE you print out the log of the module. Fixes: #17638, #17864, #18989
-
When GIT_SHALLOW is used, the '--depth 1 --no-single-branch' arguments are add. It means that only branch names and tags is downloaded to repository. Most Commit Hash is not working. With this commit the documentation was updated, to describe the limitation of GIT_SHALLOW.
-
- Mar 14, 2019
-
-
Marc Chevrier authored
Ensure interpreter and libraries architecture matches CMake build configuration. Update documentation about interpreter constraints. Fixes: #19024
-
Since commit 79410eeb (ExternalProject: Initialize Git submodules recursively and on update (#16083), 2016-04-26, v3.6.0-rc1~105^2) our `git submodule update` step uses the `--init` flag. This makes the prior `git submodule init` unnecessary.
-
Revise script generation to hard-code selected options instead of building them with logic inside the script.
-
-
- Mar 13, 2019
-
-
radekn authored
-