https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
fca4423 CMake 3.9.1 10 August 2017, 13:36:24 UTC
c94c6ba Merge branch 'doc-CMP0069-typos' into release-3.9 Merge-request: !1122 10 August 2017, 13:27:30 UTC
8c0afd2 Merge branch 'find-package_root-disable' into release-3.9 Merge-request: !1116 10 August 2017, 13:27:19 UTC
8d56308 Help: Fix module and function names in CMP0069 examples Fixes: #17153 10 August 2017, 13:03:49 UTC
578d95f find_*: Disable the PACKAGE_ROOT search path group for CMake 3.9 Disable the feature added by commit v3.9.0-rc1~71^2~2 (find_*: Add a new PackageRoot search path group, 2017-05-03) and remove documentation added by commit v3.9.0-rc1~71^2 (find_*: Add docs for PackageRoot search path group, 2017-05-03). Unfortunately the name `<pkg>_ROOT` may already be set by projects for their own incompatible purposes. Disable the behavior change for now to fix the regression for CMake 3.9. We can restore it later with a policy. In order to keep the implementation and tests working, add an undocumented variable we can use in the tests to enable the behavior before the policy is introduced. Fixes: #17144 08 August 2017, 15:52:28 UTC
2610c1a Merge branch 'autogen-create-include-dir' into release-3.9 Merge-request: !1113 08 August 2017, 14:10:09 UTC
9e2a8af Merge branch 'find-package_root-test-regex' into release-3.9 Merge-request: !1115 08 August 2017, 12:26:58 UTC
6e5ad27 Merge branch 'update-expat' into release-3.9 Merge-request: !1110 08 August 2017, 12:26:44 UTC
e574bce Tests: Simplify RunCMake.find_package PackageRoot case regexes 08 August 2017, 12:23:57 UTC
6a0605c Autogen: Always create AUTOMOC/AUTOUIC include directory The **AUTOGEN** include directory was always passed to the compiler but only generated on demand. To avoid compiler complaints when using `-Wmissing-include-dirs` make sure the directory gets created always. Closes #17147 08 August 2017, 10:11:10 UTC
e4ea628 expat: Update CMake build for 2.2.3 07 August 2017, 14:22:13 UTC
44e5fb9 Merge branch 'upstream-expat' into update-expat * upstream-expat: expat 2017-08-02 (97c6bd01) 07 August 2017, 14:19:30 UTC
7e08602 expat 2017-08-02 (97c6bd01) Code extracted from: https://github.com/libexpat/libexpat.git at commit 97c6bd01990090d4015364ae37dd141f3c39a30f (R_2_2_3). 07 August 2017, 14:06:36 UTC
6276ec3 expat: Update script to get Expat 2.2.3 07 August 2017, 14:06:23 UTC
8fb12ce Merge branch 'add-package_root-to-find_package' into release-3.9 Merge-request: !1082 03 August 2017, 19:05:30 UTC
9d09d1a Merge branch 'android-plain-sysroot' into release-3.9 Merge-request: !1101 03 August 2017, 16:47:11 UTC
68d67c8 Android: Fix support for CMAKE_SYSROOT without CMAKE_SYSROOT_COMPILE If `CMAKE_SYSROOT` is set by the user (e.g. via the toolchain file) then we do not set `CMAKE_SYSROOT_COMPILE` to our default. Fix our references to the sysroot's `/usr/include` directory to use `CMAKE_SYSROOT_COMPILE` only if it is set and else `CMAKE_SYSROOT`. Fixes: #17096 03 August 2017, 16:03:59 UTC
cc08d08 Merge branch 'vs-VCTargetsPath-force-config' into release-3.9 Merge-request: !1100 03 August 2017, 16:00:05 UTC
fe3b481 VS: Fix VCTargetsPath detection In some environments MSBuild chooses the `Release` configuration even though only `Debug` is available in our detection project. Force use of the `Debug` configuration with a command-line option. Fixes: #17118 03 August 2017, 15:54:02 UTC
dcb01e9 Merge branch 'doc-release-notes-orphan' into release-3.9 Merge-request: !1077 03 August 2017, 13:39:13 UTC
9e22576 Help: Silence warning about document not included in toctree When not using the html or text builders, `Help/index.rst` does not include `Help/release/index.rst` in the toctree. Silence the warning. 03 August 2017, 13:36:08 UTC
a7e4d59 Merge branch 'server-fix-crash' into release-3.9 Merge-request: !1096 02 August 2017, 20:27:06 UTC
70272f3 server: Fix crash on missing cache entries Test for nullptr before constructing std::string. 02 August 2017, 20:13:55 UTC
4a20711 find_package: Split PACKAGE_ROOT tests to work with smaller regex 02 August 2017, 16:03:52 UTC
1181ad6 Merge branch 'UseSWIG-Java-enabled' into release-3.9 Merge-request: !1095 02 August 2017, 15:56:07 UTC
b4fbf67 UseSWIG: Fix when Java is enabled as a language Since commit v3.8.0-rc1~251^2 (UseSWIG: Record generated java files as custom command outputs, 2016-11-28) the generated `.java` files are listed as sources in the call to `add_library` by swig_add_library. They are listed only as the outputs of custom commands and not intended for compilation as part of the library. Reported-by: Alan W. Irwin <irwin@beluga.phys.uvic.ca> 02 August 2017, 15:52:36 UTC
39bd20a Merge branch 'FindJava-fix-1.6-registry' into release-3.9 Merge-request: !1079 02 August 2017, 15:31:27 UTC
5479074 FindJava: fix hint for windows jre 1.6 Fix typo in commit v3.8.0-rc1~112^2 (FindJava: add hints for jre, 2017-01-11). 02 August 2017, 15:30:48 UTC
dc859d3 Merge branch 'sphinx-pre-1.2' into release-3.9 Merge-request: !1089 02 August 2017, 15:27:45 UTC
2a68ff7 Utilities/Sphinx: Restore compatibility with Sphinx pre-1.2 Since commit v3.8.0-rc2~28^2~2 (Utilities/Sphinx: Port cmake extension to Sphinx 1.4, 2017-02-09) we use the `sphinx.version_info` tuple. However, it was added in Sphinx v1.2 so the check breaks compatibility with older versions. Revise our check to assume Sphinx pre-1.2 if the version tuple does not exist. 02 August 2017, 15:25:21 UTC
f71f194 Merge branch 'FindJava_earlyAccessDebian' into release-3.9 Tested-by: Felix Geyer <debfx@fobos.de> Merge-request: !1080 02 August 2017, 15:15:42 UTC
8331329 Merge branch 'FindBoost-fix-early-return' into release-3.9 Merge-request: !1078 02 August 2017, 15:15:18 UTC
9722ff5 find_package: Fix PACKAGE_ROOT test to check find_pacakge(CONFIG) mode. 28 July 2017, 14:49:13 UTC
c5d2b99 find_package: Add missing PACKAGE_ROOT_PATH search path implementation. 28 July 2017, 14:49:13 UTC
eddbd62 FindBoost: pop policy stack before returning CMake would give a fatal error if the policy stack was cleaned up upon exiting the module. 26 July 2017, 21:49:48 UTC
e42fa01 Allow early access version trailing string to be mixed case The original regex was expecting to match strings like "ea", but it has been reported that other strings like "Debian" are also possible. 25 July 2017, 12:35:45 UTC
f15cfd8 CMake 3.9.0 18 July 2017, 15:18:18 UTC
b978786 Merge branch 'objlib-own-target-objs' into release-3.9 17 July 2017, 15:42:18 UTC
d89e10c Diagnose object library self-reference The code add_library(A OBJECT a.c) target_sources(A PRIVATE $<TARGET_OBJECTS:A>) used to crash CMake via infinite recursion while evaluating the generator expression. Then the change in commit v3.9.0-rc1~266^2~1 (cmGeneratorTarget: Replace source classifier implementation, 2017-04-07) avoided the infinite recursion because GetKindedSources now creates a map entry and initializes it once. If it is called again on the same target during that initialization, the partially computed results are returned. This is still wrong but does not crash. Detect and diagnose this case instead. Co-Author: Ben Boeckel <ben.boeckel@kitware.com> Fixes: #16578 14 July 2017, 18:05:22 UTC
f2b05a0 Merge branch 'doc-vs2015-update-relnote' into release-3.9 14 July 2017, 15:02:45 UTC
cfa9a2b Help: Add a 3.9 release note about the VS GenerateDebugInformation update Add a release note corresponding to the environmental regression fixed by commit v3.9.0-rc6~15^2~1 (VS: Fix GenerateDebugInformation values for v140 and v141 toolsets, 2017-06-27). 14 July 2017, 15:02:17 UTC
68a6447 Merge branch 'xcode9support' into release-3.9 14 July 2017, 14:40:33 UTC
0348383 Xcode: Add "outputPaths" to custom command script build phase This is needed for Xcode 9's "New Build System", whose release notes mention "that output must be declared as an explicit output by the script which generates it" in reference to outputs of custom script build phases. 14 July 2017, 14:38:00 UTC
8c7facd Merge branch 'backport-fix-lang-std-option-list' into release-3.9 14 July 2017, 14:20:12 UTC
218ce15 Features: Fix support for a list of language standard options The change in commit v3.9.0-rc1~174^2~2 (CompileFeatures: Let STD compile options be a list, 2016-10-05) did not change all the places we add the language standard options. Expand the list in the other places. 14 July 2017, 14:19:44 UTC
13e9a37 Merge branch 'TestDriver-fix-Wconversion' into release-3.9 14 July 2017, 12:01:55 UTC
221ffab TestDriver: Fix -Wconversion warning Since commit v3.8.0-rc1~51^2~1 (TestDriver: calc NumTests at compile time, 2017-01-24) we convert an expression that uses `sizeof()` to an `int` as a compile-time constant. Some GCC versions warn about this with `-Wconversion`. Add a cast to avoid the warning. 14 July 2017, 12:01:26 UTC
9d9085a Merge branch 'ninja_cuda_export_compile_commands_support' into release-3.9 13 July 2017, 15:40:08 UTC
712af07 CUDA: CMAKE_EXPORT_COMPILE_COMMANDS now works with CUDA and Ninja Fixes: #17061 13 July 2017, 15:23:16 UTC
d11c48e Merge branch 'android-system-include-last' into release-3.9 13 July 2017, 14:04:14 UTC
4bafa39 Android: Always add standard include directories last 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 13 July 2017, 14:03:58 UTC
25b72e9 CMake 3.9.0-rc6 12 July 2017, 13:20:01 UTC
e8e38ae Merge branch 'android-fix-c++_shared' into release-3.9 12 July 2017, 12:39:55 UTC
e0fb3f3 Android: Link to android_support with c++_shared The NDK has done this in `build/core/definitions.mk` since r13 (r12 and below do so only for c++_static). 12 July 2017, 12:39:42 UTC
c42c039 Merge branch 'vs-2017-sln-guid' into release-3.9 11 July 2017, 14:42:21 UTC
5cf9c3d VS: Add SolutionGuid to generated .sln files Visual Studio 2017 Update 3 adds a SolutionGuid to its `.sln` files. Fixes: #17041 11 July 2017, 14:41:28 UTC
7638c6e Merge branch 'find_package-root-prefix-path-suffixes' into release-3.9 11 July 2017, 13:20:37 UTC
80b905f find_*: Honor PATH_SUFFIXES in PackageName_ROOT paths This was accidentally forgotten in commit v3.9.0-rc1~71^2~2 (find_*: Add a new PackageRoot search path group, 2017-05-03). Fixes: #17052 11 July 2017, 13:11:19 UTC
1ae1b88 cmFindCommon: Drop unused FilterPaths method The method has not been used since commit v3.2.0-rc1~400^2~1 (Encapsulate search path manipulation functions into a seperate class, 2014-10-15). 11 July 2017, 13:11:19 UTC
cca8454 cmFindCommon: Fix typo in PackageName_ROOT path label 11 July 2017, 13:11:19 UTC
6fba4ec Merge branch 'bindexplib-revert-consts' into release-3.9 10 July 2017, 18:54:30 UTC
3250b9a bindexplib: Revert support for constants symbols Revert the main logic change of commit v3.9.0-rc1~192^2 (bindexplib: fix constants symbols export, 2017-04-26) and its test case. Unfortunately some constants may be provided by multiple object files with different `@...` suffixes, leading to ambiguous references. Revert support pending further investigation. Fixes: #17045 10 July 2017, 18:54:07 UTC
dd69dea Merge branch 'vs-2017-choose-via-environment' into release-3.9 10 July 2017, 15:08:27 UTC
2644e4c VS: Choose VS 2017 instance via environment variable In the `Visual Studio 15 2017` generator, if the `VS150COMNTOOLS` environment variable points at a specific VS 2017 instance reported by the Visual Studio Installer tool, use that as the preferred instance. Inspired-by: Iyyappa Murugandi <iyyappam@microsoft.com> Fixes: #16846 10 July 2017, 15:08:11 UTC
f7f721d Merge branch 'autogen_skip_included' into release-3.9 10 July 2017, 14:26:32 UTC
ecac50e Autogen: Skip included files on demand 10 July 2017, 11:36:48 UTC
9b9a57e Merge branch 'autogen-no-generated-files' into release-3.9 07 July 2017, 15:44:35 UTC
916b7d5 Merge branch 'find_package-restore-considered-configs' into release-3.9 07 July 2017, 15:44:29 UTC
e7730d7 find_package: Restore longer message when config files were considered Since commit v3.9.0-rc1~58^2 (find_package: shorten output for missing package in config mode, 2017-05-09) we print only the one line - Could NOT find Foo (missing: Foo_DIR) when package Foo cannot be found in CONFIG mode and it is not REQUIRED. However, in the case that package configuration files were found but not used, this one line message leaves out important information. This can happen when a package configuration file sets `Foo_FOUND` to `FALSE` or when its package version file does not match the requested version. Restore the longer message in these cases. Otherwise a seemingly valid explicit `Foo_DIR` setting appears to be silently ignored even if it was considered. Fixes: #17029 07 July 2017, 15:43:59 UTC
9a34e95 Autogen: Skip generated files for compatibility with CMake 3.8 The change in commit v3.9.0-rc1~464^2~8 (Autogen: Add AUTOMOC/UIC support for generated source files, 2017-03-02) changes behavior of existing projects that may not expect `AUTOGEN` on generated files and do not yet set `SKIP_AUTOGEN` on them. Disable the behavior change for now to fix the regression for CMake 3.9. We can restore it later with a policy. In order to keep the implementation and tests working, add an undocumented property we can use in the tests to enable the behavior before the policy is introduced. Fixes: #17031 Issue: #16186 07 July 2017, 14:12:15 UTC
658ecc1 Merge branch 'FindDoxygen-create-output-dir' into release-3.9 06 July 2017, 15:13:51 UTC
796b8fc FindDoxygen: Create DOXYGEN_OUTPUT_DIRECTORY if it doesn't exist If the doxygen output directory does not exist, create it prior to running the doxygen commands. 06 July 2017, 15:00:28 UTC
cf9a994 Merge branch 'autogen_p' into release-3.9 05 July 2017, 14:29:27 UTC
ef31812 Merge branch 'autogen-header-skip' into release-3.9 05 July 2017, 13:42:15 UTC
251bcbe Autogen: Continue search for FOO_p.h when FOO.h was found 02 July 2017, 20:54:35 UTC
83d8ace Autogen: Check .moc header name against SKIP list When encountering an #include "FOO.moc" statement where FOO.hpp was chosen over FOO.cpp as the moc source, the FOO.hpp name was not checked against the moc SKIP list. 30 June 2017, 16:53:24 UTC
2086003 Merge branch 'vs-link-guard-cf' into release-3.9 30 June 2017, 14:57:55 UTC
82a5c2c VS: Fix support for '/guard:cf' linker flag Although `$(VCTargetsPath)/1033/link.xml` for v140 and v141 toolsets contains an entry for `LinkControlFlowGuard`, it does not work when used in a `.vcxproj` file. Drop our link flag table entries for these toolsets so that the flag will be passed via `AdditionalOptions`. 30 June 2017, 14:57:40 UTC
d3234a8 Merge branch 'FindDoxygen-project-in-subdir' into release-3.9 30 June 2017, 14:16:35 UTC
bc92960 Merge branch 'xcode-cross-sdk-object-libraries' into release-3.9 30 June 2017, 14:16:30 UTC
97a9a35 FindDoxygen: Use a stable reference to the location of global resources FindDoxygen generates some files based on the version of Doxygen whose content will not vary across a project and are therefore a global resource that can be shared by all calls to `find_package(Doxygen)` and to `doxygen_add_docs`. We currently use `${PROJECT_BINARY_DIR}` to reference their location, but this is not stable because `project()` calls in a subdirectory can change it. Use `${CMAKE_BINARY_DIR}` instead. Reviewed-by: Craig Scott <craig.scott@crascit.com> Fixes: #17022 29 June 2017, 18:39:26 UTC
c2a6df9 Xcode: Use correct Object Library paths for cross-SDK builds When calculating Object Library paths take a look at the `XCODE_EMIT_EFFECTIVE_PLATFORM_NAME` property to enable builds with different SDKs. Otherwise a hard-coded architecture could be chosen. Fixes: #16040 29 June 2017, 13:52:44 UTC
594b0f8 Merge branch 'vs-link-debug-flags' into release-3.9 28 June 2017, 12:58:19 UTC
7ba27e3 VS: Add v140 and v141 flag table entries for /DEBUG:NONE and /DEBUG:FULL 28 June 2017, 12:55:40 UTC
ae44496 VS: Fix GenerateDebugInformation values for v140 and v141 toolsets When VS 2015 was first released, its new v140 toolset came with a `link.xml` file that changed the `GenerateDebugInformation` boolean (`false` and `true`) value from earlier toolsets to an enumeration consisting of the possible values `No`, `Debug`, and `DebugFastLink`. We first adapted to this in commit v3.4.2~2^2 (VS: Fix VS 2015 .vcxproj file value for GenerateDebugInformation, 2016-01-08), but that broke older toolsets that still expected the boolean. Then commit v3.6.0-rc1~295^2~1 (VS: Fix VS 2015 .vcxproj debug setting for older toolsets, 2016-02-24) added a hack to fix up the value based on the toolset in use. Several follow-up commits fixed this for more older toolsets because our flag table was at the time based on the generator in use rather than the toolset in use. Since commit v3.8.0-rc1~396^2 (VS: Choose flag map based on the toolset name, 2016-10-17) we use a flag table based on the toolset, so the fixup hack should not be needed. We had to keep it around only due to our default value for GenerateDebugInformation (`false` or `No`) still being based on the generator instead of the toolset. A VS 2015 update was released that changed the v140 toolset `link.xml` file back to using `false` and `true` for the `GenerateDebugInformation` enumeration variants previously known as `No` and `Debug`. In order to know which pair to use, we need to parse the `link.xml` file for the current toolset. Switch back to using `false` and `true` unconditionally in our `GenerateDebugInformation` flag table entries and default value. With that plus the toolset-based flag table, we now get incorrect values for `GenerateDebugInformation` only when using a v140 toolset from an older VS 2015 installation. Detect this case by parsing `link.xml` and add special logic to convert `false` and `true` to `No` and `Debug` to satisfy the older toolset specification. Inspired-by: Ian Hojnicki <nullref@live.com> Fixes: #17020 28 June 2017, 12:55:40 UTC
27bef16 VS: Fix GenerateDebugInformation flag map text for v141 toolsets Update the help text to match that from v141's link.xml file. 28 June 2017, 12:55:40 UTC
17a397c VS: Split link flag table between v140 and v141 toolsets 28 June 2017, 12:55:40 UTC
9807a0c Merge branch 'curl-haiku' into release-3.9 28 June 2017, 12:42:45 UTC
e793675 curl: Fix build on Haiku On Haiku the network functions are in libnetwork, so use it when it exists. 28 June 2017, 12:41:49 UTC
372de3f CMake 3.9.0-rc5 27 June 2017, 14:59:58 UTC
7f1fd07 Merge branch 'FindDoxygen-internal-var' into release-3.9 27 June 2017, 14:48:30 UTC
d194bd9 FindDoxygen: Add private prefix to internal variables Since commit v3.9.0-rc1~55^2 (Improve Doxygen support, 2017-04-10) we accidentally leave a non-prefixed internal `result` variable set. This may interfere with project code. Add a prefix to avoid this. 27 June 2017, 14:45:45 UTC
fd771df Merge branch 'fix-crash-on-non-enabled-language-features' into release-3.9 27 June 2017, 13:14:31 UTC
1d86103 Merge branch 'vs-cuda-fix-flags' into release-3.9 27 June 2017, 13:14:26 UTC
bbc1f36 VS: Fix support for nvcc flags not in our flag table The change in commit v3.9.0-rc4~3^2 (VS: Improve workaround for CUDA -Xcompiler placement bug, 2017-06-21) accidentally appended to the `AdditionalOptions` as if it were a `;`-separated list, but it is actually a command-line string. Append with a space instead. While at it, fix the same problem for the `AdditionalOptions` added to `CudaLink` by commit v3.9.0-rc3~1^2 (CUDA: When linking device code suppress CUDA 8.0+ deprecation warnings, 2017-06-09). Fixes: #17008 27 June 2017, 13:08:50 UTC
e03a1b3 target_compile_features: Do not crash on non-enabled language Fixes: #17011 26 June 2017, 17:54:20 UTC
8699042 Tests: Enable languages explicitly in RunCMake.target_compile_features Enable C or CXX (or nothing) as needed in each test case. This will allow us to add test cases that do not enable CXX. 26 June 2017, 17:54:20 UTC
c24e665 Merge branch 'GetPrerequisites-ucrt-no-warn' into release-3.9 26 June 2017, 14:34:02 UTC
23451a6 GetPrerequisites: Do not warn about non-absolute UCRT system libraries Issue: #17007 26 June 2017, 14:33:16 UTC
319bd92 Merge branch 'toolchain-binutils-advanced' into release-3.9 22 June 2017, 18:15:09 UTC
back to top