https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
55d6aa3 CMake 3.0.0 09 June 2014, 14:51:47 UTC
f25a301 Merge branch 'hpux-libarchive-compile' into release 09 June 2014, 14:39:00 UTC
4189a7f libarchive: fix compilation on newer HP-UX versions Newer HP-UX versions (e.g. 11.31) also offers F_SETTIMES, but with a different struct for the timing information. Suggested-by: Eric Berge <ericmberge@gmail.com> 09 June 2014, 14:38:11 UTC
eca7981 Merge branch 'fix-ctest-option-summary' into release 05 June 2014, 14:57:02 UTC
6446eb0 CTest: Added option description for --output-on-failure Without it the option list is cut short after --debug. 05 June 2014, 14:51:39 UTC
695ce68 Merge branch 'fix-build-crash-on-bad-generator' into release 03 June 2014, 15:53:18 UTC
44e2923 cmake: Fix --build crash on bad CMAKE_GENERATOR in cache If we fail to create the generator named by CMAKE_GENERATOR, exit with an error message instead of crashing. While at it, fix the wording of the error message when CMAKE_GENERATOR is not set. Extend the RunCMake.CommandLine test with cases covering the "cmake --build" option when the named directory does not provide a CMakeCache.txt with a valid CMAKE_GENERATOR. 03 June 2014, 15:52:19 UTC
687e0d6 Merge branch 'cmake-credits' into release 03 June 2014, 13:36:16 UTC
889f2fd Simplify and clarify credit text and link Use the name "Kitware" rather than "Kitware, Inc." to simplify the text. Provide a CMake-specific URL. 03 June 2014, 13:34:38 UTC
922f479 Merge branch 'cmake-credits' into release 03 June 2014, 13:30:39 UTC
8da0a75 Simplify and clarify credit text and link Use the name "Kitware" rather than "Kitware, Inc." to simplify the text. Provide a CMake-specific URL. 03 June 2014, 13:24:26 UTC
910849d Merge branch 'doc-include-dir-props' into release 02 June 2014, 14:57:02 UTC
907e422 Help: Explain build/install-tree include dirs in more places (#14946) Explain how to use $<BUILD_INTERFACE> and $<INSTALL_INTERFACE> directly in the documentation of the target_include_directories command and INTERFACE_INCLUDE_DIRECTORIES target property. Otherwise readers need to notice the link to the cmake-buildsystem(7) manual and find the example in that to understand the need for these expressions. Also fix the explanation in cmake-buildsystem(7) to not claim that relative paths may be used inside a BUILD_INTERFACE expression. 02 June 2014, 14:49:28 UTC
6fbd9a8 Help: Add code example for INSTALL_INTERFACE to cmake-buildsystem. 02 June 2014, 14:28:23 UTC
61a1612 Merge branch 'fix-cache-self-assignment' into release 27 May 2014, 20:21:37 UTC
1cd3752 cmCacheManager: Avoid cache entry self-assignment Since commit bef93dc5 (Couple of changes: cache variables now have a map of properties, 2002-09-11) the cmCacheManager::AddCacheDefinition method accesses its map entry by reference. However, the commit left the original entry assignment at the end of the method. With Apple Clang 5.1 and libc++ this self-assignment destroys the cache entry property map. Drop the self assignment. Also drop the condition around the call to UnwatchUnusedCli since it was a self-comparison that must always have been true. 27 May 2014, 20:12:05 UTC
326d15a cmake: Tolerate missing HELPSTRING on compiler change Teach cmake::HandleDeleteCacheVariables to tolerate a missing HELPSTRING (NULL pointer) when saving cache entries. In the absence of other bugs this should not be possible, but avoid the crash just in case. 27 May 2014, 20:11:04 UTC
a8c6b30 Merge branch 'GNUtoMS-vs-12' into release 27 May 2014, 13:31:34 UTC
668e571 GNUtoMS: Add support for VS 2013 (#14936) Add to the Platform/Windows-GNU module list of VS registry entries those for VS 2013. Also add the name "vcvars64.bat" used by VS 10 and above for 64-bit tools. 27 May 2014, 13:24:26 UTC
cbc9a95 CMake 3.0.0-rc6 22 May 2014, 14:41:12 UTC
0aa41c7 Merge branch 'backport-kwsys-cygwin-fixes' into release 20 May 2014, 13:49:57 UTC
0c7f84c KWSys Process: Workaround child kill trouble on Cygwin When we kill a child we send SIGSTOP first so that we can traverse its child processes recursively. On unwinding the recursion we then send SIGKILL. Current Cygwin has trouble when both signals are sent in quick succession by the parent process. Add a usleep(1) after sending the first signal to give up our time slice and give Cygwin a chance to process the first signal before sending the second. 20 May 2014, 13:48:35 UTC
e604209 KWSys SystemTools: Port cygwin path conversion to modern API The cygwin_conv_to_win32_path function is deprecated in favor of cygwin_conv_path. Use the latter. 20 May 2014, 13:48:26 UTC
8c420ad Merge branch 'backport-fix-CMP0022-language-propagation' into release 19 May 2014, 13:17:38 UTC
e07f406 Merge branch 'FindCUDA-separable-compilation-flags' into release 19 May 2014, 13:17:23 UTC
6ad14c7 FindCUDA: Use CUDA_NVCC_FLAGS* for separable compilation Previously when linking the intermediate link file for separable compilation the CUDA_NVCC_FLAGS* were not used. This caused tremendous confusion when using this feature, and I consider it to be a bug. This change should fix this. 19 May 2014, 13:14:15 UTC
40b9cd0 CMP0022: Fix link language propagation in NEW behavior The languages used in compiling STATIC libraries need to be propagated to dependents regardless of the settings of INTERFACE_LINK_LIBRARIES or CMP0022. They are independent of the libraries in the link interface. Prior to commit v2.8.12~192^2~2 (Introduce the INTERFACE_LINK_LIBRARIES property, 2013-06-04) the cmTarget::ComputeLinkInterface code path for "explicitLibraries" could never be taken for STATIC libraries, so the logic to propagate languages existed only in the non-explicitLibraries code path. After that commit, INTERFACE_LINK_LIBRARIES could be set for STATIC libraries to cause the "explicitLibraries" code path to be taken. The commit also left the old non-explicitLibraries code path conditional on CMP0022 not being set to NEW. Thus link language propagation was left missing from two cases by that commit. The explicitLibraries code path was fixed to propagate languages by commit v2.8.12~149^2~1 (cmTarget: Fix iface libraries and languages for static libraries, 2013-07-26). However, the non-explicitLibraries case was never taught to propagate languages when CMP0022 is set to NEW. Fix that now. Factor the logic to propagate link languages out of the link interface libraries conditions so that it always occurs. Update Tests/Fortran to set CMP0022 to NEW to test this case (because the test passes only if link language propagation works). 19 May 2014, 13:11:39 UTC
5527cfa Merge branch 'fix-atomic-rename-Windows-sharing-violation' into release 13 May 2014, 19:25:47 UTC
24bd7ae cmSystemTools::RenameFile: Retry on Windows ERROR_SHARING_VIOLATION Add ERROR_SHARING_VIOLATION to the set of errors (previously including only ERROR_ACCESS_DENIED) that cause a rename (MoveFile) on Windows to retry. The condition was observed when two renames to the same target file name were happening simultaneously. 13 May 2014, 19:23:36 UTC
b3ebb8f CMake 3.0.0-rc5 13 May 2014, 13:34:03 UTC
9996b98 Merge branch 'ninja-intel-linux' into release 09 May 2014, 19:20:26 UTC
54535f4 Ninja: Fix deptype for Intel compiler on Linux Since commit v3.0.0-rc1~305^2 (Ninja: deptype msvc for Intel's compiler on Windows, 2013-11-25) we used "deps = msvc" for the Intel compiler. This is correct only on Windows. On Linux we still want "deps = gcc". Fix the logic to use "deps = msvc" when the compiler id or the "simulate id" is "MSVC". This will preserve the behavior on Intel for Windows and fix the behavior on Intel for Linux. In the future this should be converted to a platform information module variable. 09 May 2014, 19:11:54 UTC
39ae025 Merge branch 'backport-target-property-policy-context' into release 09 May 2014, 15:46:54 UTC
23409f5 cmTarget: Evaluate CMP0026 in calling context This policy should be checked at the call site that tries to access the LOCATION property, not the directory scope containing the target. Thread the caller context through cmTarget::GetProperty to use for checking the policy setting and emitting a diagnostic with proper backtrace. Extend the RunCMake.CMP0026 test with a cross-directory case. 09 May 2014, 15:12:48 UTC
2e75bf6 cmTarget: Drop unused GetProperty signature No callers use the second "scope" argument. Drop this signature and hard-code the default parameter value internally. 09 May 2014, 15:06:13 UTC
890efcb Merge branch 'vs-fix-MANIFESTUAC' into release 07 May 2014, 19:35:32 UTC
9c7f234 VS: Fix /MANIFESTUAC:NO linker option mapping There are no versions of /MANIFESTUAC:NO where addition values are appended. Remove both of the MANIFESTUAC:NO entries from our flag tables and replace them with one which would set EnableUAC to false and immediately stop processing the /MANIFESTUAC:NO option. 07 May 2014, 19:24:08 UTC
74dc1a0 Merge branch 'desktop-icon' into release 07 May 2014, 19:04:15 UTC
0c4c29e cmake-gui: Fix desktop file icon configuration Drop the icon file extension. This fixes the desktop file validation message: "CMakeSetup32.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path Applied-by: Rolf Eike Beer <eike@sf-mail.de> 07 May 2014, 19:03:05 UTC
2673b93 Merge branch 'ctest-bad-generator' into release 07 May 2014, 15:14:04 UTC
5411128 ctest_build: Do not crash on bad generator name If creation of the global generator fails, return early with an error message instead of trying to use the generator and crashing. Add a CTestTestBadGenerator test to cover this case. Reported-by: Mathieu Malaterre <malat@debian.org> Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747306 07 May 2014, 15:02:16 UTC
d9889e0 Merge branch 'ncurses-tinfo' into release 06 May 2014, 19:33:20 UTC
1f646c6 FindCurses: Detect and satisfy ncurses dependency on tinfo When ncurses is built with USE=tinfo we need to find "tinfo" as a dependency of the main library. Otherwise 'cbreak' is missing: ld: ...: undefined reference to symbol 'cbreak' ld: note: 'cbreak' is defined in DSO /lib/libtinfo.so.5 so try adding it to the linker command line See https://bugs.gentoo.org/show_bug.cgi?id=468622 for more information. Applied-by: Rolf Eike Beer <eike@sf-mail.de> 06 May 2014, 19:29:33 UTC
0e4a2c7 FindCurses: Honor CURSES_NEED_NCURSES when curses is found Take our CURSES_USE_NCURSES code path when CURSES_NEED_NCURSES is enabled even if CURSES_CURSES_LIBRARY also happens to be found. Applied-by: Rolf Eike Beer <eike@sf-mail.de> 06 May 2014, 19:29:14 UTC
9cb4677 Merge branch 'hpux-compile' into release 06 May 2014, 17:29:05 UTC
500d83b CompileFlags: add better selection which aCC version gets -AA +hpxstd98 flags 06 May 2014, 17:25:01 UTC
f347fd1 CompileFlags: Add -AA +hpxstd98 on HP-UX 11.11 with aCC These flags are needed to enable support for C++98. Also teach the 'bootstrap' script to add them if necessary. 06 May 2014, 17:23:58 UTC
4ca9b00 CompileFlags: Test for C++ features after selecting flags Some flags we select may affect availability of C++ features. 06 May 2014, 17:23:51 UTC
b121436 Merge branch 'backport-kwsys-compile-fix' into release 06 May 2014, 14:06:31 UTC
8c5b9cf KWSys SystemInformation: Include backtrace APIs whenever we use them Include execinfo.h, cxxabi.h, and dlfcn.h under the same conditions under which we use the APIs from them. Move their inclusion out of OS-specific blocks. 06 May 2014, 14:05:01 UTC
dcae93e Merge branch 'InstallRequiredSystemLibraries-vs12-mfc' into release 06 May 2014, 14:02:08 UTC
c0a6646 InstallRequiredSystemLibraries: MBCS MFC is optional on VS 12 (#14903) The MBCS (Multi-Byte Character Set) has been deprecated with VS 2013, and MSVC no longer ships with an MBCS-version of MFC by default. However, it can be downloaded as an add-on. Teach InstallRequiredSystemLibraries to install the MBCS MFC only for VS < 12 or if it happens to exist on the system. 06 May 2014, 12:54:39 UTC
c553d68 Merge branch 'ExternalProject-verify-cmake-var' into release 30 April 2014, 20:29:48 UTC
420280f ExternalProject: Fix path to cmake in verify script In commit v3.0.0-rc1~103^2~3 (ExternalProject: Reattempt download when verification fails, 2014-01-15) a reference to ${CMAKE_COMMAND} was added to generate a reference to the CMake command in a cmake script. Escape the '$' so that the literal variable reference appears in the script instead of writing the path to the current cmake. This is necessary when the path to CMake contains spaces or other characters special to CMake syntax. 30 April 2014, 20:21:58 UTC
c2f27da Merge branch 'doc-singlehtml' into release 25 April 2014, 12:43:07 UTC
6293d1b Merge branch 'doc-full-help' into release 25 April 2014, 12:43:00 UTC
478356e Restore --help-full option to output all help manuals This option was removed during conversion to the reStructuredText documentation. Restore it. Process documentation starting at Help/index.rst so that all manuals are included in the output. 25 April 2014, 12:41:31 UTC
faf291a Utilities/Sphinx: Add option to build 'singlehtml' format Add SPHINX_SINGLEHTML to enable the Sphinx 'singlehtml' builder. 24 April 2014, 19:23:27 UTC
20b46a0 Merge branch 'sphinx-python3' into release 24 April 2014, 13:26:41 UTC
d55671a Utilities/Sphinx: Fix cmake domain document removal with python3 In the domain clear_doc method, avoid removing entries from a dictionary while iterating over it. Instead accumulate a set of entries to remove at the end. 24 April 2014, 13:04:52 UTC
72ab764 Merge branch 'osx-CFBundle-info-plist' into release 22 April 2014, 16:53:51 UTC
149ce5d OS X: Fix Info.plist placement in a CFBundle Fix cmOSXBundleGenerator::CreateCFBundle to place Info.plist under the same root directory as the rest of the bundle. Without this, Info.plist was placed into CMAKE_BINARY_DIR, not CMAKE_CURRENT_BINARY_DIR because the target path was not generated correctly. 22 April 2014, 16:48:44 UTC
2b7f70c Merge branch 'sphinx-python3' into release 18 April 2014, 13:10:13 UTC
69069cf Utilities/Sphinx: Port documentation generation to python3 (#14886) 18 April 2014, 12:42:34 UTC
567e4e6 CMake 3.0.0-rc4 16 April 2014, 17:24:46 UTC
e40fbbb Merge branch 'archive-null-error' into release 16 April 2014, 17:19:10 UTC
ac00baa Merge branch 'implicit-libNN-dirs' into release 16 April 2014, 17:19:03 UTC
b508de5 cmArchiveWrite: Handle NULL error string (#14882) If archive_error_string returns NULL, use a placeholder string instead of crashing. 16 April 2014, 17:13:28 UTC
cc57ff5 Drop /lib32 and /lib64 from link directories and RPATH (#14875) Extend CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES with these paths. We already have the equivalents under /usr. Systems that have these directories have their dynamic loaders configured already. Do not allow them to appear in the RPATH explicitly. 16 April 2014, 15:40:48 UTC
1c58719 Merge branch 'rc-windres-with-dot' into release 11 April 2014, 13:12:00 UTC
7147ed5 CMakeRCInformation: Recognize 'windres' tools with '.' in name (#14865) A 64-bit MinGW windres is named "i686-w64-mingw32.shared-windres". The get_filename_component NAME_WE mode may strip the ".shared-windres" part and cause the result to no longer contain "windres". Instead, match the "windres" name in the full CMAKE_RC_COMPILER value first, and use the get_filename_component code path only for other resource compilers. 11 April 2014, 13:10:56 UTC
db924e0 CMakeRCInformation: Do not mention 'Fortran' in documentation This module is for the Windows Resource Compiler, not Fortran. 11 April 2014, 13:10:56 UTC
a2da465 Merge branch 'Fortran-pgi-intel-arch' into release 10 April 2014, 16:58:45 UTC
eb8cb2c Fortran: Detect pointer size on Intel archs with PGI (#14870) The PGI compiler does not define __SIZEOF_POINTER__ so use the __x86_64__ or __i386__ CPU macros to select a pointer size instead. 10 April 2014, 16:57:02 UTC
4fd2669 Merge branch 'CMakeDetermineVSServicePack-vs-11-update-4' into release 10 April 2014, 16:49:54 UTC
f0de3f8 CMakeDetermineVSServicePack: Add VS 11 update 4 10 April 2014, 16:49:14 UTC
105658d CMakeDetermineVSServicePack: Match versions more robustly Use the CMAKE_MATCH_* variables to simplify matching logic. Match either 3 or 4 version components. Do not fail when there are only three components available. 10 April 2014, 16:49:14 UTC
101515b CMakeDetermineVSServicePack: Format documentation Also state explicitly that the module is deprecated. 10 April 2014, 16:49:14 UTC
c4b31a2 Merge branch 'Qt4Macros-moc-performance' into release 03 April 2014, 17:08:27 UTC
7beba98 Qt4Macros: Make QT4_CREATE_MOC_COMMAND a function QT4_CREATE_MOC_COMMAND is given a moc_flags argument that contains the COMPILE_DEFINITIONS and a potentially large list of include directories. Since it is a macro, the ${moc_flags} reference is replaced with this content and sent through cmMakefile::ExpandVariablesInString (EVIS). Since commit v3.0.0-rc1~138^2 (Qt4: Use generator expression in COMPILE_DEFINITIONS, 2014-01-13) the COMPILE_DEFINITIONS value contains a '$' so the EVIS fast-path is no longer used. Instead the full cmCommandArgumentParserHelper is now used on the large input, which is very slow (since it was originally created for hand-written code). Change QT4_CREATE_MOC_COMMAND to a function instead of a macro to avoid passing large content through EVIS. This makes it significantly faster. 03 April 2014, 16:58:58 UTC
97243c2 Merge branch 'revise-compiler-id-policies' into release 02 April 2014, 18:54:17 UTC
a41c0a9 Do not warn by default when policy CMP0025 or CMP0047 is not set These policies are triggered by the use of a particular compiler rather than outdated CMake code in a project. Avoid warning in every project that enables a language by not displaying the policy warning by default. Add variable CMAKE_POLICY_WARNING_CMP<NNNN> to control the warning explicitly; otherwise enable the warning with --debug-output or --trace. This breaks with strict policy convention because it does not provide developers with any warning about the behavior change by default. Existing projects will continue to build without a warning or change in behavior. When a developer changes the minimum required version of CMake in a project to a sufficiently high value (3.0), the project will suddenly get the new compiler id and may break, but at least the breakage comes with a change to the project rather than the version of CMake used to build it. Breaking strict policy convention is worthwhile in this case because very few projects will be affected by the behavior change but every project would have to see the warning if it were enabled by default. 02 April 2014, 18:43:54 UTC
d339653 Help: Revise and format policy CMP0025 and CMP0047 docs Add inline reST markup as appropriate. Word CMP0047 docs more like those of CMP0025. State explicitly that the policies must be set before the project or enable_language command calls. 02 April 2014, 18:42:45 UTC
f180fc8 Merge branch 'fix_policy_diagnostics' into release 02 April 2014, 13:38:28 UTC
b783b99 Merge branch 'clang-warnings' into release 02 April 2014, 13:38:23 UTC
77b581c Policies: omit warnings about unset policies when they are actually set to NEW 31 March 2014, 13:45:10 UTC
50ca77f create_test_sourcelist: Initialize variable at declaration Clang -Wconditional-uninitialized warns otherwise. 31 March 2014, 13:41:05 UTC
8272bbc Merge branch 'fix-Qt-manual-typo' into release 26 March 2014, 17:24:10 UTC
dcfbbe8 Help: Fix typo in cmake-qt manual. Do -> To. 26 March 2014, 16:50:08 UTC
a48de7d CMake 3.0.0-rc3 20 March 2014, 13:26:39 UTC
6a85d62 Merge branch 'add_custom_command-no-INTERFACE-lib' into release 19 March 2014, 14:57:04 UTC
aee0633 Merge branch 'fix-Qt5-non-Windows' into release 19 March 2014, 14:54:18 UTC
2600e92 Disallow INTERFACE libraries with add_custom_command(TARGET). Don't attempt to trace their dependencies. 19 March 2014, 14:51:21 UTC
5f21067 QtDialog: Fix Qt 5 build on non-Windows. The Qt5Core_QTMAIN_LIBRARIES variable is defined to the Qt5::WinMain target on Windows, and undefined elsewhere. 19 March 2014, 14:38:02 UTC
0f4e8fd CMake 3.0.0-rc2 17 March 2014, 17:14:27 UTC
4a7eb0c Merge branch 'CONFIG-LOCATION-CMP0026' into release 17 March 2014, 13:35:30 UTC
c903b53 cmTarget: Restore <CONFIG>_LOCATION to CMP0026 OLD behavior (#14808) Restore support for the undocumented <CONFIG>_LOCATION target property removed by commit v3.0.0-rc1~175^2 (cmTarget: Remove support for <CONFIG>_LOCATION property, 2013-12-30) as part of the CMP0026 OLD behavior. 17 March 2014, 13:30:39 UTC
43b39b1 Merge branch 'fix-Qt5-windows-build' into release 17 March 2014, 13:24:12 UTC
61c60b2 QtDialog: Avoid linking to Qt4 WinMain when using Qt 5. Override the QT_QTMAIN_LIBRARY cache variable with a regular variable in the Qt 5 configuration. This avoids linking with the Qt 4 version of the WinMain library. 17 March 2014, 13:15:14 UTC
aa195cd Merge branch 'intel-14-version' into release 14 March 2014, 14:00:16 UTC
back to top