https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
a4119af FindDLLTOOL: add find module for dlltool. 17 July 2019, 16:36:53 UTC
3143e9f Merge topic 'project-version-0' 0ba5891ead project: Keep leading `0` in PROJECT_VERSION components 5f84669806 Tests: Factor out RunCMake.project helper macro into module b1f387a7ea Refactor: Use raw string literals instead of escaping 41b85968d8 Refactor: Use initializer lists instead of `push_back` series 45e85dd2b2 Refactor: Add some `const` to vars 90f91e4d21 Refactor: Replace a "magic" number w/ a named constant 638383c38f Refactor: Eliminate one-time-used variables 9b6a53292f Refactor: Eliminate `sep` from the loop Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3517 17 July 2019, 11:28:05 UTC
119fb86 Merge branch 'release-3.15' 17 July 2019, 11:20:47 UTC
3f84ff2 Merge topic 'find_package-fix-NO_MODULE' f2edccea66 find_package: Fix NO_MODULE under CMAKE_FIND_PACKAGE_PREFER_CONFIG Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3557 17 July 2019, 11:20:20 UTC
b119968 CMake Nightly Date Stamp 17 July 2019, 04:01:08 UTC
c3d9d80 Merge topic 'aix-explicit-exports' c2c3d22504 Tests: Drop RunCMake workaround for AIX ld warnings about GNU atexit 9f5c2040bf AIX: Explicitly compute executable exports for both XL and GNU 0f150b69d3 AIX: Explicitly compute shared object exports for both XL and GNU a5bf4e7921 AIX: Drop redundant -brtl flags 9cb5f040d7 XL: De-duplicate shared object creation flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3556 16 July 2019, 14:30:38 UTC
76a540b Merge topic 'doc-ENABLE_EXPORTS' 84ddeb8fa5 Help: Clarify ENABLE_EXPORTS per-platform link behavior e29ccfcafb Help: Simplify CMAKE_ENABLE_EXPORTS documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3560 16 July 2019, 14:28:54 UTC
84ddeb8 Help: Clarify ENABLE_EXPORTS per-platform link behavior Spell out the behavior on each platform in a bullet list. 16 July 2019, 14:09:40 UTC
e29ccfc Help: Simplify CMAKE_ENABLE_EXPORTS documentation In real projects the variable form should rarely be used because the decision to export symbols from an executable is very specific. Remove its main description, which duplicates the `ENABLE_EXPORTS` target property, and simply reference the property instead. 16 July 2019, 14:09:06 UTC
185e6a1 Merge branch 'find_package-fix-NO_MODULE' into release-3.15 Merge-request: !3557 16 July 2019, 13:12:56 UTC
f2edcce find_package: Fix NO_MODULE under CMAKE_FIND_PACKAGE_PREFER_CONFIG The module mode fallback added by commit 22e65d10c1 (find_package: Fixed CMAKE_FIND_PACKAGE_PREFER_CONFIG Module fallback, 2019-06-13, v3.15.0-rc2~6^2) should not be used unless the `find_package` call allows module mode. Doing so can lead to infinite recursion if a find module tries to call config mode with `find_package(... NO_MODULE)`. Fix the logic and add a test case. Fixes: #19478 16 July 2019, 13:09:24 UTC
09b4dfb Merge branch 'release-3.14' 16 July 2019, 12:36:40 UTC
0ba5891 project: Keep leading `0` in PROJECT_VERSION components Introduce CMake policy `CMP0096` to make `project()` keep leading zeros in version components. As a side effect, it now allows really long version numbers. Fixes: #19421 Co-Author: Brad King <brad.king@kitware.com> 16 July 2019, 11:48:40 UTC
79a21ba Merge topic 'FindPNG-msvc-static' 95f8b0aec7 FindPNG: Add static libpng names for MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3552 16 July 2019, 11:24:14 UTC
e0d45dd Merge topic 'FindMatlab/pre-2018-fixes' cd6bd8391a FindMatlab: code comment and ordering of the finders 9e6206c59b FindMatlab: fixing extension bat file invocation error a9b36ea69f FindMatlab: Fixing compilation issues on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3554 16 July 2019, 11:23:20 UTC
9654191 CMake 3.14.6 16 July 2019, 11:08:05 UTC
e653938 CMake Nightly Date Stamp 16 July 2019, 04:01:06 UTC
c2c3d22 Tests: Drop RunCMake workaround for AIX ld warnings about GNU atexit Drop the filtering added by commit e22c45d4c9 (Tests: Teach RunCMake to ignore AIX ld warnings about GNU atexit, 2018-02-28, v3.12.0-rc1~419^2~6). It is no longer needed now that we compute our own exports on AIX and do not get these warnings when using shared libraries. 15 July 2019, 17:27:16 UTC
9f5c204 AIX: Explicitly compute executable exports for both XL and GNU On AIX, symbols in executables must be exported in order to be visible to modules (plugins) they load via `dlopen`. Prior to policy `CMP0065`, CMake linked all executables with flags to export symbols, but the NEW behavior for that policy is to do so only for executables that have the `ENABLE_EXPORTS` target property set. In both cases, CMake has always used the AIX linker option `-bexpall` option to export symbols from executables. This has worked fairly well with the XL compiler, but with the GNU compiler it works only for C ABI symbols. The reason is that `-bexpall` does not export symbols starting in `_` but the GNU C++ ABI mangles all symbols with a leading `_`. Therefore we have only supported C ABI plugins with the GNU compiler on AIX. Some projects have tried to work around this by replacing `-bexpall` with `-bexpfull`, but the latter often exports symbols that we do not want exported. Avoid using `-bexpall` for executables by instead using by our own internal `ExportImportList` script to compute symbol export lists from the object files to be linked into an executable. Pass the explicitly computed export list to the AIX linker's `-bE:...` option. We already do this for shared object exports. Issue: #19163 15 July 2019, 17:27:16 UTC
0f150b6 AIX: Explicitly compute shared object exports for both XL and GNU On AIX, symbols in shared objects must be exported in order to be visible to dependents (similar to Windows). The AIX linker provides a `-bE:...` option to specify a file listing symbols to be exported. Compilers offer some features to help: * When the XL compiler is invoked with its `-qmkshrobj`/`-G` options for creating shared objects (without/with runtime linking), it recognizes when no explicit `-bE:...` linker option is specified and runs a `CreateExportList` tool provided with the compiler to compute one from the object files. Since commit d468a2c2cb (XL: Avoid copying archives into shared libraries that link them, 2011-04-07, v2.8.5~153^2) CMake runs `CreateExportList` explicitly to ensure it only looks at the object files and not any library files. * When the GNU compiler is invoked with its `-shared` option for creating shared objects, its internal `collect2` tool recognizes when no explicit `-bE:...` linker option is specified and computes one itself from the object files. However, it sometimes includes extra symbols such as `.__init_aix_libgcc_cxa_atexit`. Introduce our own internal `ExportImportList` script to compute symbol export lists from object files. Use a basic implementation for now: it can be extended as needed later. Update our shared library creation rules to run the script explicitly for both the XL and GNU compilers. Issue: #19163 15 July 2019, 17:27:16 UTC
a5bf4e7 AIX: Drop redundant -brtl flags We removed `-brtl` in commit bce7a2a3a5 (AIX: Do not use -brtl to create shared libraries, 2013-03-11, v2.8.11~103^2~1) but it was added again by commit f254276fc1 (AIX,HP-UX: Fix RPATH handling when CMP0065 is set to NEW, 2015-12-11, v3.4.2~4^2). Since the latter commit we initialize the `CMAKE_{SHARED,MODULE}_LINKER_FLAGS` to use the `-brtl` linker flag. This is unnecessary because we already use the `-G` linker flag which implies `-brtl`. The latter commit also moved `-brtl` to `CMAKE_EXE_LINKER_FLAGS` from flags that were always included in executable link lines with CMP0065 OLD behavior and are not part of the change intended by CMP0065. Leave this for now as we've always enabled runtime linking for executables (and implicitly done so via -G for shared libraries and modules). Issue: #13997 Issue: #19163 15 July 2019, 17:26:56 UTC
5f84669 Tests: Factor out RunCMake.project helper macro into module 15 July 2019, 12:17:36 UTC
b1f387a Refactor: Use raw string literals instead of escaping 15 July 2019, 12:17:36 UTC
41b8596 Refactor: Use initializer lists instead of `push_back` series 15 July 2019, 12:17:36 UTC
45e85dd Refactor: Add some `const` to vars 15 July 2019, 12:17:36 UTC
90f91e4 Refactor: Replace a "magic" number w/ a named constant 15 July 2019, 12:17:36 UTC
638383c Refactor: Eliminate one-time-used variables 15 July 2019, 12:17:36 UTC
9b6a532 Refactor: Eliminate `sep` from the loop 15 July 2019, 12:17:34 UTC
95f8b0a FindPNG: Add static libpng names for MSVC Add names produced by the png upstream buildsystem for static libraries with MSVC. 15 July 2019, 12:08:27 UTC
9cb5f04 XL: De-duplicate shared object creation flags The XL `-qmkshrobj` flag creates shared objects on all platforms. Move the flag out of the per-platform modules into the per-compiler module for XL. 15 July 2019, 11:45:04 UTC
d7e53b4 Merge topic 'cleanup-gen-lookups' 7ff9ab3b10 Makefile: De-duplicate executable link rule lookup 79f5ef19fe De-duplicate checks for whether a platform uses Windows DLLs 22d3eb5d5e Refactor checks for whether a target has an import library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3550 15 July 2019, 11:41:52 UTC
a92b7fd Merge topic 'modernize-cmCommand-memory-management' 1591f138f1 modernize: manage cmCommand instances using unique_ptr. d9b2c7dae2 Introduce memory management helper: cm_memory.hxx Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Sebastian Holtermann <sebholt@web.de> Merge-request: !3513 15 July 2019, 11:40:00 UTC
3376067 Merge branch 'release-3.15' 15 July 2019, 11:35:17 UTC
5133cab Merge branch 'release-3.14' 15 July 2019, 11:34:54 UTC
0964a96 Merge topic 'FindBISON-CMP0088-SourcePath' f84d2045e9 FindBISON: Fix CMP0088 NEW behavior for non-absolute input paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3549 15 July 2019, 11:34:01 UTC
1b8fdad Merge topic 'soname' 6af97178ef Swift: support SONAME on ELFish targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3543 15 July 2019, 11:27:46 UTC
0db8b7e CMake Nightly Date Stamp 15 July 2019, 04:01:07 UTC
cd6bd83 FindMatlab: code comment and ordering of the finders 14 July 2019, 23:52:07 UTC
9e6206c FindMatlab: fixing extension bat file invocation error If the environment variable MATLAB_ARCH is set prior to the call, the called scripts do not return an error message. 14 July 2019, 23:52:02 UTC
a9b36ea FindMatlab: Fixing compilation issues on Windows 14 July 2019, 23:46:12 UTC
1591f13 modernize: manage cmCommand instances using unique_ptr. 14 July 2019, 13:37:30 UTC
d9b2c7d Introduce memory management helper: cm_memory.hxx 14 July 2019, 13:37:30 UTC
81389a5 CMake Nightly Date Stamp 14 July 2019, 04:01:07 UTC
82a4e07 CMake Nightly Date Stamp 13 July 2019, 04:01:10 UTC
a2319c0 Merge topic 'cleanup-statics-stream-flush' af75ab7645 Refactor: Use anonymous namespace instead of `static`s in `cpack.cxx` 0db458a0ce Refactor: Use anonymous namespace instead of `static`s 0328b64efd Refactor: Remove one-time used macros b821f9ad62 Refactor: Optimize some stream output operations Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3535 13 July 2019, 00:26:12 UTC
7ff9ab3 Makefile: De-duplicate executable link rule lookup Use `GetCreateRuleVariable` instead of duplicating the variable lookup. 12 July 2019, 21:37:02 UTC
79f5ef1 De-duplicate checks for whether a platform uses Windows DLLs 12 July 2019, 21:35:49 UTC
22d3eb5 Refactor checks for whether a target has an import library Use `HasImportLibrary` for such checks. 12 July 2019, 21:29:40 UTC
7242d81 Merge branch 'FindBISON-CMP0088-SourcePath' into release-3.15 Merge-request: !3549 12 July 2019, 20:21:26 UTC
3af4808 Merge branch 'FindBISON-CMP0088-SourcePath' into release-3.14 Merge-request: !3549 12 July 2019, 20:21:12 UTC
f84d204 FindBISON: Fix CMP0088 NEW behavior for non-absolute input paths Now that the working directory is in the build tree, relative input paths must be converted to an absolute path to remain relative to the source directory. Fixes: #19472 12 July 2019, 20:20:08 UTC
8212b08 Merge topic 'cmake-e-true-false' b8828ecbba cmake -E: Add true and false commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3542 12 July 2019, 20:12:20 UTC
82a72bf Merge topic 'ctest_make_program__propagated_to_cmake_configure_pass' cd681f1f41 ctest: propagate make program to cmake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3483 12 July 2019, 20:10:32 UTC
f9e0cf6 Merge topic 'compiler-id-encoding' d1f38ba65d CMakeDetermineCompilerId: Consider UTF-16 encodings of INFO strings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3539 12 July 2019, 11:24:52 UTC
207a486 Merge branch 'release-3.15' 12 July 2019, 11:23:11 UTC
609d86e Merge topic 'object-library-sbcs' 54290adcba VS: Fix SBCS support for object libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3537 12 July 2019, 11:22:55 UTC
1810a61 Merge branch 'object-library-sbcs' into release-3.15 Merge-request: !3537 12 July 2019, 11:22:01 UTC
54290ad VS: Fix SBCS support for object libraries In commit 3a53005f7d (Build object library targets in VS, 2012-03-12, v2.8.8~29^2~13) we updated the condition for unicode but accidentally left out the SBCS case support for object libraries. Fixes: #19469 12 July 2019, 11:20:23 UTC
93f10f0 CMake Nightly Date Stamp 12 July 2019, 04:01:08 UTC
6af9717 Swift: support SONAME on ELFish targets We should enable the soname to be setup for ELF shared libraries. Failure to do so generates binaries with incorrect names which prevents loading. 11 July 2019, 18:12:26 UTC
b8828ec cmake -E: Add true and false commands 11 July 2019, 17:41:30 UTC
09f9ed6 Merge branch 'release-3.15' 11 July 2019, 17:02:13 UTC
14f69fa Merge branch 'fortran-submodule-cray' into release-3.15 Merge-request: !3504 11 July 2019, 17:01:02 UTC
0a690fc Merge topic 'rel-scripts' 329f0a64b0 Utilities/Release: Replace batch scripts with individual scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3540 11 July 2019, 15:27:15 UTC
329f0a6 Utilities/Release: Replace batch scripts with individual scripts Provide a more granular per-platform workflow. 11 July 2019, 14:24:28 UTC
d1f38ba CMakeDetermineCompilerId: Consider UTF-16 encodings of INFO strings Our compiler identification source encodes `INFO:compiler[...]` and similar strings in compiled objects or binaries that we then extract to get information about the compiler. With most compilers the strings are encoded in the binaries as a simple byte sequence. However, some compilers use other encodings. For example, the MS CSharp compiler uses UTF-16LE and a TI compiler uses UTF-16BE. Try each encoding. Fixes: #19459 11 July 2019, 13:50:30 UTC
e153144 Merge topic 'iwyu-memory' 71fbebd1dc IWYU: Fix handling of <memory> standard header Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Marc Chevrier <marc.chevrier@gmail.com> Merge-request: !3536 11 July 2019, 12:52:36 UTC
c30939a Merge topic 'CheckSymbolExists-doc' bf2244681b CheckSymbolExists: Add examples for check_symbol_exists cafaa5883a CheckCXXSymbolExists: Clarify documented role Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3522 11 July 2019, 12:51:22 UTC
6e4e79e Merge topic 'fix_ctest_output' adcbdb143c CTest: Clean up stdout and logfile output for Pass/Fail regex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3509 11 July 2019, 12:50:36 UTC
01a8b89 Merge topic 'eclipse-resource-encoding' 09c1991895 Eclipse: Add option to set the resource encoding Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3525 11 July 2019, 12:49:34 UTC
cd681f1 ctest: propagate make program to cmake 11 July 2019, 12:28:35 UTC
24722b7 Merge topic 'docs-file-GLOB-case-sensitivity' c65f296960 Help: Mention file(GLOB)'s case-sensitivity Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3516 11 July 2019, 10:07:26 UTC
7c98e2d CMake Nightly Date Stamp 11 July 2019, 04:01:08 UTC
f758e8a Merge branch 'release-3.15' 10 July 2019, 17:21:28 UTC
bb4b394 Merge topic 'fix/move-more-cpack-internals' 98617f1be0 Refactor: Move CPack internal files to `Internal/CPack/` directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3530 10 July 2019, 16:48:12 UTC
86ead0b CMake 3.15.0-rc4 10 July 2019, 16:27:14 UTC
71fbebd IWYU: Fix handling of <memory> standard header An old workaround for `std::allocator_traits<>::value_type` lints from IWYU on `std::vector<>` usage breaks IWYU's handling of `<memory>`. Convert the workaround to use the same approach we already use for a workaround of `std::__decay_and_strip<>::::__type` lints. Then update the `<memory>` inclusions to follow the now-correct IWYU lints. 10 July 2019, 15:48:56 UTC
bf22446 CheckSymbolExists: Add examples for check_symbol_exists Add examples in `CheckCXXSymbolExists` too. Co-Author: Brad King <brad.king@kitware.com> 10 July 2019, 13:51:38 UTC
cafaa58 CheckCXXSymbolExists: Clarify documented role 10 July 2019, 13:51:38 UTC
c65f296 Help: Mention file(GLOB)'s case-sensitivity Based on the KWSYS_GLOB_CASE_INDEPENDENT flag in `Source/kwsys/Glob.cxx`. 10 July 2019, 13:29:29 UTC
4fc1043 Merge topic 'elseif' f4ed56ab63 Fix elseif() in place of else() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !3515 10 July 2019, 13:26:39 UTC
fe8f6e3 Merge topic 'clang-test-fixes' 417eb5739a Tests: fix some Clang failures on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3518 10 July 2019, 13:25:48 UTC
2161f81 Merge topic 'eclipse-init-members' 0a65768068 Eclpise: Fix compiler warnings about uninitialized member variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3524 10 July 2019, 13:24:23 UTC
70290a2 Merge branch 'release-3.15' 10 July 2019, 13:22:19 UTC
88bb138 Merge branch 'release-3.14' 10 July 2019, 13:22:02 UTC
96a35a8 Merge topic 'implicit-includes-cray-hlist' 0a7b61269c Merge branch 'backport-implicit-includes-cray-hlist' 98e371f13e Cray: Fix include parsing when the -hlist= flag is present Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3532 10 July 2019, 13:21:24 UTC
29a1a68 Merge topic 'cuda-imported-library-device-linking' 8895449648 CUDA: Restore device linking to imported static library targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3526 10 July 2019, 13:20:32 UTC
27bd921 Merge topic 'emacs/drop-23' 8e1664d108 cmake-mode.el: Drop support for Emacs < 24 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3520 10 July 2019, 13:19:36 UTC
98844aa Merge branch 'implicit-includes-cray-hlist' into release-3.15 Merge-request: !3532 10 July 2019, 12:57:55 UTC
e902a11 Merge branch 'cuda-imported-library-device-linking' into release-3.15 Merge-request: !3526 10 July 2019, 12:57:47 UTC
8c7a627 Merge branch 'release-3.15' 10 July 2019, 10:54:00 UTC
844536f Merge topic 'docs-message-cmake-gui' into release-3.15 Merge-request: !3523 10 July 2019, 10:51:49 UTC
3b62d5e Merge topic 'docs-message-cmake-gui' 42a9e61056 message() help: Clarify how logs are displayed in various tools Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3523 10 July 2019, 10:44:17 UTC
522b687 CMake Nightly Date Stamp 10 July 2019, 04:01:08 UTC
42a9e61 message() help: Clarify how logs are displayed in various tools 09 July 2019, 23:40:11 UTC
f7eb765 Merge topic 'add_cmake_find_use_package_registry' 447a96f590 vim: Update cmake.vim to include the CMAKE_FIND_USE variables 1d00ba9ccf Find: find_package prefers variable CMAKE_FIND_USE_REGISTRY 704e3a2ca8 Find: Correct spelling and layout issues in CMAKE_FIND_USE_ docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3487 09 July 2019, 23:32:54 UTC
af75ab7 Refactor: Use anonymous namespace instead of `static`s in `cpack.cxx` Signed-off-by: Alex Turbov <i.zaufi@gmail.com> 09 July 2019, 22:07:18 UTC
0db458a Refactor: Use anonymous namespace instead of `static`s Signed-off-by: Alex Turbov <i.zaufi@gmail.com> 09 July 2019, 22:06:58 UTC
0328b64 Refactor: Remove one-time used macros Signed-off-by: Alex Turbov <i.zaufi@gmail.com> 09 July 2019, 22:06:26 UTC
b821f9a Refactor: Optimize some stream output operations - remove redundant `std::flush` right after `std::endl` - join some string literals Signed-off-by: Alex Turbov <i.zaufi@gmail.com> 09 July 2019, 22:06:14 UTC
back to top