https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
433c6d4 CMake 3.1.0-rc2 12 November 2014, 14:41:58 UTC
5d1fe90 Merge branch 'emacs-mode-underscore-in-symbol' into release 12 November 2014, 14:30:15 UTC
cb80e51 Help: Add 3.1 release note Emacs mode update 12 November 2014, 14:29:25 UTC
5bed08a Merge branch 'kwsys-SystemInformation-AIX-_SC_AIX_REALMEM' into release 12 November 2014, 14:17:13 UTC
0011abe Merge branch 'doc-CMAKE_INSTALL_PREFIX-link-GNUInstallDirs' into release 12 November 2014, 14:17:07 UTC
b3bbb65 Merge branch 'doc-index-xrefs' into release 12 November 2014, 14:17:01 UTC
7ca9a45 Utilities/Sphinx: Add index entries for cross-references Add a document transform to insert index and target nodes just before any CMake domain cross-reference node. This will make references to CMake domain objects appear in the index. Also add a comment explaining why it cannot be done in a result_nodes method of the CMakeXRefRole. 12 November 2014, 14:10:52 UTC
30f14ae cmake-mode.el: syntax of '_' should be treated as symbol Word commands, such as foward-word(M-f), backward-kill-word(M-backspace), don't work well like other major-modes if syntax of '_' is treated as "word". Tested-by: Guillaume Papin <guillaume.papin@parrot.com> 12 November 2014, 13:40:14 UTC
00d4cdc Help: Link to GNUInstallDirs from CMAKE_INSTALL_PREFIX (#15246) Add a note to the CMAKE_INSTALL_PREFIX documentation that refers readers to the GNUInstallDirs module to make the latter easier to discover. 12 November 2014, 13:32:01 UTC
ec893d9 Merge branch 'fix_link-line-dedup_regression' into release 11 November 2014, 17:46:27 UTC
a234bca KWSys SystemInformation: Check for _SC_AIX_REALMEM before using it Add a check for supported flag when querying for system memory on AIX 5.1. 11 November 2014, 14:16:46 UTC
4db3109 Fix link line order when shared libraries are de-duplicated Since commit v3.1.0-rc1~227^2~1 (De-duplicate shared library targets in generated link lines, 2014-07-30) we de-duplicate shared library targets on the link line. However, some toolchains will fail linking if an executable is linking to a shared library that is not used directly and a static library that depends on the shared one. The linker may not keep the reference to the shared library the first time and then the symbols needed by the static library may not be found. Fix this by reversing the direction of the for loop that removes the duplicate shared libraries, in order to ensure that the last occurrence of the library is left instead of the first one. Extend Tests/Dependency with a case covering this behavior. Create an executable that links to a shared library and a static library but only needs the shared library as a dependency of the static library. Co-Author: Brad King <brad.king@kitware.com> 10 November 2014, 19:46:22 UTC
41b4fb9 Merge branch 'ExternalProject-check-hash-before-download' into release 10 November 2014, 16:29:21 UTC
ee7405a ExternalProject: Restore logic to not download already-existing file The change in commit v3.1.0-rc1~85^2 (ExternalProject: Fix download retry logic, 2014-09-13) dropped the file(DOWNLOAD) EXPECTED_HASH argument. This prevents file(DOWNLOAD) from skipping the download if the output file already exists with the proper hash. Restore this check with explicit code in the download script. Reported-by: Ruslan Baratov <ruslan_baratov@yahoo.com> 10 November 2014, 16:26:52 UTC
e937173 Merge branch 'fix-gcc-hppa' into release 10 November 2014, 15:44:45 UTC
04f442f Workaround for short jump tables on PA-RISC. The PA-RISC architecture requires special options for GCC to prevent linker errors when libraries reach a certain size and / or complexity. See http://mraw.org/blog/2007/10/10/Linking_on_hppa and gcc documentation on -mlong-calls. 10 November 2014, 15:26:30 UTC
a970f7d Merge branch 'xcode-ios-compiler-id' into release 07 November 2014, 21:48:38 UTC
7f89552 Xcode: Fix compiler path detection for iOS tools on Xcode <= 5.0 (#15237) Since commit v3.1.0-rc1~1^2~1 (Xcode: Fix compiler id detection for iOS tools, 2014-10-22) our compiler id detection project sets the product type to 'com.apple.product-type.bundle.unit-test'. This causes the Ld command line on which we match the path to the compiler to have a 'CompilerIdC.xctest/' component. The commit updated our regex to match this, but placed it before the extra './' component that Xcode 5.0 and below produce. Xcode <= 5.0 prints '/./CompilerIdC.xctest/', so switch the order of the two components in the regex to match it. 07 November 2014, 21:29:51 UTC
098bea1 Merge branch 'genex-target-objects-ordering' into release 07 November 2014, 16:45:33 UTC
06c3b7a Merge branch 'doc-cleanup-xrefs' into release 07 November 2014, 16:45:27 UTC
4c8c442 Help: Fix broken cross-references reported by 'nitpicky' option Enable the Sphinx 'nitpicky' option and fix the resulting warnings about dangling references. 07 November 2014, 16:41:21 UTC
3dfc856 Merge branch 'doc-formatting' into release 07 November 2014, 16:02:45 UTC
addff66 Merge branch 'doc-FindITK-FindVTK-relnotes' into release 07 November 2014, 16:02:29 UTC
f0ca3ef Help: Wrap long lines in pre-formatted documentation blocks Help format the blocks better for display without a wide screen. 07 November 2014, 15:59:09 UTC
1550d97 Help: Update 3.1 release notes for dropping of FindITK and FindVTK The changes made by commit v3.1.0-rc1~46^2~1 (FindITK: Drop this ancient compatibility module, 2014-10-02) and commit v3.1.0-rc1~46^2 (FindVTK: Drop this ancient compatibility module, 2014-10-02) need to come with release notes explaining that the modules were dropped. Also remove a release not related to an update made to FindVTK that was never released. 07 November 2014, 15:52:25 UTC
b71399a Merge branch 'release-doc-formatting' into release 07 November 2014, 15:20:58 UTC
51bb383 Merge branch 'doc-fix-html-favicon' into release 07 November 2014, 14:52:46 UTC
5088e0a Utilities/Sphinx: Fix html_favicon configuration The value must be either a full path or relative to the configuration directory, not relative to the 'static' directory. Use a full path. This avoids a warning: WARNING: favicon file 'cmake-favicon.ico' does not exist It worked before because all 'static' directory content is copied to the '_static' directory of html output anyway. 07 November 2014, 14:50:50 UTC
caa4b7b genex: Preserve order while evaluating TARGET_OBJECTS The logic introduced in commit v3.1.0-rc1~688^2~9 (Genex: Evaluate TARGET_OBJECTS as a normal expression, 2014-02-26) ordered a map by pointer value and then constructed a list of object files by iterating over the map. This is not deterministic. Since commit v3.1.0-rc1~688^2~5 (cmTarget: Allow any generator expression in SOURCES property, 2014-03-18) the order produced by the above-mentioned logic started being used for the actual list of object files on the link line. Since it is not deterministic, spurious re-links occur after re-running CMake simply because the order of objects changed on the link line. Fix this by iterating over the original vector of source files instead of the map. This has a deterministic order. 07 November 2014, 14:38:00 UTC
79349ed Help: Tell latex to use a small font for cmake-language.7 productions 06 November 2014, 19:52:27 UTC
20c5f4f Modules: Wrap long lines in pre-formatted documentation blocks Help format the blocks better for display without a wide screen. 06 November 2014, 19:52:26 UTC
6c4aa38 FindProtobuf: Cleanup reStructuredText documentation formatting Fix the markup to make the documentation format properly. 06 November 2014, 19:52:24 UTC
8dab506 Help: Fix example in cmake-packages to avoid long line 06 November 2014, 19:46:18 UTC
f84ddd4 Help: Format add_library documented list of INTERFACE commands Use a bullet list to make it easier to read. 06 November 2014, 19:46:18 UTC
a9dcf47 Help: Drop TOC from latex manuals A latex document can have its own TOC. 06 November 2014, 19:46:18 UTC
4cc2d9b Merge branch 'FindIce-no-envvar-markup' into release 03 November 2014, 16:39:13 UTC
01fb319 FindIce: Drop use of :envvar: Sphinx markup We do not use it elsewhere yet, and do not want to index environment variables inconsistently. 03 November 2014, 15:53:47 UTC
1ee161c Merge branch 'watcom-drop-symfile-option' into release 03 November 2014, 14:36:25 UTC
a72ff02 Merge branch 'fix-configure_file-COPYONLY' into release 03 November 2014, 14:35:34 UTC
6b63942 Watcom: Drop symfile linker option Cleanup of Windows-wcl386.cmake in commit v3.1.0-rc1~693^2 (Watcom: Cleanup Windows-wcl386 configuration, 2014-04-01) also introduced use of the 'symfile' link option but did not mention it in the commit message. There is no way to set the symbol file name of a target, so it is better to revert that change. It is easy to run 'wstrip *' if the symbols need to be stripped, but it is very difficult to get the right names for the .sym files to install with debug/rel_with_deb_info configurations. 03 November 2014, 13:46:48 UTC
4abbb14 Qt4: Fix configure_file call to use COPYONLY, not COPY_ONLY 31 October 2014, 17:20:19 UTC
bd7ba8e KWSys: Fix configure_file call to use COPYONLY, not COPY_ONLY 31 October 2014, 17:20:19 UTC
e928278 Help: Fix configure_file call to use COPYONLY, not COPY_ONLY The configure_file signature has option 'COPYONLY' (no underscore). Fix the example in 'cmake-packages.7.rst'. 31 October 2014, 17:19:33 UTC
aa0f6e8 Merge branch 'doc-add_library-typo' into release 31 October 2014, 15:38:36 UTC
3882539 Documentation: Fix minor typo thecommand -> the command 31 October 2014, 15:27:50 UTC
8f01867 Merge branch 'doc-add_compile_options' into release 29 October 2014, 19:24:03 UTC
1e48ea7 Merge branch 'FindCurses-include-CheckLibraryExists' into release 29 October 2014, 19:23:57 UTC
352cbb6 Help: Reference add_compile_options from add_definitions (#15225) When we explain in add_definitions documentation that it is intended only for preprocessor definitions, link to add_compile_options for adding other flags. Also explicitly mention that the order of add_definitions calls with respect to target creation does not matter. This differs from the behavior now explicitly stated in the documentation of add_compile_options. 29 October 2014, 19:23:31 UTC
a9f8c50 Help: Clarify add_compile_options documentation (#15225) Explain that it affects only targets added after the call. Fix the link to the COMPILE_OPTIONS directory propert documentation. Update the latter to explain that it is used to initialize the corresponding target property when a target is created. 29 October 2014, 13:18:56 UTC
f11f957 FindCurses: Include CheckLibraryExists before using it (#15220) Include the module at the top unconditionally so that all code paths can use it. 28 October 2014, 12:53:28 UTC
0c3ddf8 Merge branch 'revert-definition-map-lookup' into release 24 October 2014, 17:38:32 UTC
d1b6218 Merge branch 'parent-scope-tests' into variable-pull-failure * parent-scope-tests: test: add a test for PARENT_SCOPE with multiple scopes test: add test for PARENT_SCOPE behavior Conflicts: Tests/RunCMake/set/RunCMakeTest.cmake 24 October 2014, 17:34:30 UTC
5f414ce Revert "cmDefinitions: Don't store parent lookups" This reverts commit 5abfde6cb8a1ae0b2825797eab6c2e9842eb7c49. The behaviors associated with implicit pulldown on variable lookup seriously conflict with the optimizations made in these commits. Basically, since values were copied upon variable lookup, not just on PARENT_SCOPE, coupled with PARENT_SCOPE's behavior based on whether the variable is in the current scope or not causes serious problems with not storing a value for every variable at every scope. The commit changed behavior of the following example, among other cases: function(test_set) set(blah "value2") message("before PARENT_SCOPE blah=${blah}") set(blah ${blah} PARENT_SCOPE) message("after PARENT_SCOPE blah=${blah}") endfunction() set(blah value1) test_set() message("in parent scope, blah=${blah}") Reported-by: Alex Merry <alex.merry@kde.org> Reported-by: Ben Cooksley <bcooksley@kde.org> 24 October 2014, 17:31:21 UTC
e0c0b1a test: add a test for PARENT_SCOPE with multiple scopes See the comment in the test for what is being tested here. 24 October 2014, 17:00:11 UTC
064c415 test: add test for PARENT_SCOPE behavior Test code courtesy of Alex Merry <alex.merry@kde.org>. 24 October 2014, 17:00:11 UTC
9c4551f Merge branch 'xcode-ios-compiler-id' into release 22 October 2014, 20:49:14 UTC
7d8879b Merge branch 'doc-line-lengths' into release 22 October 2014, 20:49:09 UTC
80b19a7 Help/manual: Avoid long lines in code blocks Update the wording of some examples to avoid long lines in code blocks. Otherwise the formatted documentation can exceed certain column width limitations. 22 October 2014, 20:48:04 UTC
4fdaced Help: Clarify formatting of CPACK_WIX_ACL documentation 22 October 2014, 20:41:22 UTC
35ca486 Help: Wrap long ctest_submit signature line 22 October 2014, 20:41:07 UTC
58b2d76 Modules: Format documentation to avoid over-long preformatted lines Convert several preformatted code block literals that enumerate lists of options or variables to use reST definition lists instead. Manually wrap other long lines in code blocks. 22 October 2014, 19:52:31 UTC
be98729 Merge branch 'doc-CMAKE_XCODE_ATTRIBUTE' into release 22 October 2014, 17:40:07 UTC
b6a2069 Merge branch 'ExternalProject-no-cygwin-hg-on-windows' into release 22 October 2014, 17:39:38 UTC
f18dbfe Merge branch 'FindHg-no-cygwin-hg-on-windows' into release 22 October 2014, 17:39:33 UTC
dae2bdd Merge branch 'cuda-rpath-osx' into release 22 October 2014, 17:39:27 UTC
7303a96 Merge branch 'fix-OSX-bundle-rpaths-and-Qt5' into release 22 October 2014, 17:39:22 UTC
ad984b6 Tests/ExternalProject: Skip Windows hg tests with cygwin hg The cygwin hg client is a text file with a '#!/bin/python" line. This cannot run on Windows. 22 October 2014, 14:52:28 UTC
ed997de FindHg: Do not use cygwin hg on Windows The cygwin hg client is a text file with a '#!/bin/python" line. This cannot run on Windows. 22 October 2014, 14:52:08 UTC
59814cb FindCUDA: Remove rpath logic outdated by CMake's own @rpath support Otherwise binaries end up with two copies of the same value and the OS X install_name_tool may corrupt them. 22 October 2014, 14:50:15 UTC
b91020f Xcode: Fix compiler id detection when code signing is required The iOS product type 'com.apple.package-type.bundle.unit-test' requires code signing on Xcode 6. Other iOS target types do too. Until CMake learns to add the CODE_SIGN_IDENTITY build attribute itself, toolchain files can set CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY to tell the Xcode generator to add the attribute. Teach CMakeDetermineCompilerId to recognize this variable and add the CODE_SIGN_IDENTITY build attribute to the compiler id project. 22 October 2014, 14:16:07 UTC
c48f6e1 Xcode: Fix compiler id detection for iOS tools (#15214) Since commit 0cce556b (Xcode: Use sysroot and deployment target to identify compiler, 2014-04-29) our compiler id detection project uses the target platform SDK in case Xcode selects a different compiler based on it. Now the compiler id project actually compiles with the target compiler and SDK when cross-compiling. The iOS tools do not support the 'com.apple.product-type.tool' product type we use in our compiler id detection project. When targeting iPhone, use product type 'com.apple.product-type.bundle.unit-test' instead. 22 October 2014, 14:16:07 UTC
0ff69dd Help: Document CMAKE_XCODE_ATTRIBUTE_<an-attribute> variable (#15215) 22 October 2014, 12:52:12 UTC
41564ff BundleUtilities: Ensure framework symlinks and Info.plist exist This restores Qt SDK 4.8 and OS X >= 10.6.5 codesign compatibility improving embedding frameworks using correct bundle layout described at: https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html 1. If Versions/VERSION/Resources/Info.plist is missing, well known incorrect locations are checked for Info.plist and Info.plist is copied from there, otherwise codesign will fail. 2. Root framework symlinks to binary and Resources are restored to point inside Versions/Current, otherwise Qt 4.8 looking for Resources/ in framework root will fail. 21 October 2014, 15:42:30 UTC
517e3cd CMake 3.1.0-rc1 version update 14 October 2014, 13:22:34 UTC
1cb1a28 Help: Drop development topic notes to prepare release Release versions do not have the development topic section of the CMake Release Notes index page. 14 October 2014, 13:21:23 UTC
c113efa Merge topic 'CheckStructHasMember-avoid-breakage-on-Wall' 384d3ce7 CheckStructHasMember: avoid breakage on -Wall -Werror (#15203) 14 October 2014, 13:20:23 UTC
19f87a7 Merge topic 'fix-comment-typos' bef23e81 Fix some spelling errors in comments 14 October 2014, 13:20:11 UTC
54ff77d CMake Nightly Date Stamp 14 October 2014, 04:01:08 UTC
bef23e8 Fix some spelling errors in comments 13 October 2014, 14:00:53 UTC
4d23b60 Merge topic 'doc-3.1-relnotes' 856ee6be Help: Organize 3.1 release notes 52842820 Help: Consolidate 3.1 release notes 13 October 2014, 12:21:07 UTC
cea13d5 Merge topic 'fix-ninja-rc-include-flags' f4c5eade Ninja: Fix RC include directories regression 13 October 2014, 12:21:04 UTC
f4c5ead Ninja: Fix RC include directories regression Changes in commit b9aa5041 (cmLocalGenerator: Simplify GetIncludeFlags output formatting, 2014-03-04) caused Windows Resource Compiler include directories to be computed as relative paths in the Ninja generator. This breaks the cmcldeps handling of include paths. The reason for the regression is that several cmLocalGenerator::GetIncludeFlags callers treated the fourth "bool forResponseFile" argument as if it controlled whether include directories were a full path. It actually did control that by accident until the above commit. Add an explicit "bool forceFullPaths" argument to GetIncludeFlags and thread the value through ConvertToIncludeReference as needed. Update GetIncludeFlags call sites that really wanted to control the forResponseFile setting to be aware of the new argument. Extend the VSResource test to cover this case. 13 October 2014, 12:20:05 UTC
384d3ce CheckStructHasMember: avoid breakage on -Wall -Werror (#15203) With CMAKE_C_FLAGS='-Wall -Werror', this test breaks due to -Werror=unused-value. Fix this by ignoring the return value. 13 October 2014, 11:57:05 UTC
c11a342 CMake Nightly Date Stamp 13 October 2014, 04:01:07 UTC
9657977 CMake Nightly Date Stamp 12 October 2014, 04:01:07 UTC
8189d53 CMake Nightly Date Stamp 11 October 2014, 04:01:15 UTC
856ee6b Help: Organize 3.1 release notes Add section headers similar to the 3.0 release notes and move each individual bullet into an appropriate section. Highlight the new VS generator capabilities for Windows Phone, Windows Store, and NVIDIA Nsight Tegra with dedicated subsections. 10 October 2014, 19:55:25 UTC
5284282 Help: Consolidate 3.1 release notes Move all development release notes into a new version-specific document: tail -q -n +3 Help/release/dev/* > Help/release/3.1.0.rst git rm -- Help/release/dev/* except the sample topic: git checkout HEAD -- Help/release/dev/0-sample-topic.rst Reference the new document from the release notes index document. Add a title and intro sentence to the new document by hand. 10 October 2014, 19:15:51 UTC
a7b9b57 Merge topic 'note-link-libraries-genex' 8bd81981 Help: Add note about restoring pre-3.0 link libraries genex behavior 10 October 2014, 19:09:06 UTC
26bffa6 Merge topic 'fix-OSX-bundle-rpaths-and-Qt5' 631fadea Help: Add notes for topic 'fix-OSX-bundle-rpaths-and-Qt5' 50e261dd OSX: Warn when attempting to change runtime paths on OS X 10.5 9b98fd52 cmake-gui: Make sure we bundle Qt5 Cocoa platform plugin 83a06bb4 BundleUtilities: Framework codesign Resources/Info.plist & Current f7df82ac BundleUtilities: Resolve & replace @rpath placeholders 14bc686f GetPrerequisites: Make sure dyld placeholders are prefixes 6c313797 BundleUtilities: Use find on UNIX for fast executable lookup 10 October 2014, 14:55:44 UTC
8bd8198 Help: Add note about restoring pre-3.0 link libraries genex behavior 10 October 2014, 14:48:05 UTC
631fade Help: Add notes for topic 'fix-OSX-bundle-rpaths-and-Qt5' 10 October 2014, 14:23:52 UTC
50e261d OSX: Warn when attempting to change runtime paths on OS X 10.5 Even though 10.5 supports @rpath, the support is not complete enough for CMake. For instance, install_name_tool doesn't support adding and removing rpaths. Also modifying BundleUtilities test to remove an undesirable cmake generated runtime path. The intent was to build with the install rpath as is done with the other cases in this test. 10 October 2014, 14:17:27 UTC
9b98fd5 cmake-gui: Make sure we bundle Qt5 Cocoa platform plugin Otherwise CMake.app bundle will not run when using Qt5. 10 October 2014, 14:17:18 UTC
83a06bb BundleUtilities: Framework codesign Resources/Info.plist & Current We need to ensure copied framework has proper layout with Resources/Info.plist present next to versioned binary and Current symlink in Versions: https://developer.apple.com/library/mac/technotes/tn2206 https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html If Resources/ is not present we may try to copy Contents/Info.plist if present to embedded Resources/Info.plist. This is a case of Qt5 that has obsolete/invalid framework layout (see QTBUG-38511). 10 October 2014, 14:17:04 UTC
f7df82a BundleUtilities: Resolve & replace @rpath placeholders This is done by gathering LC_RPATH commands for main bundle executable and using it for @rpath lookup in dependent frameworks. All functions that need to carry rpaths to now take optional <rpaths> argument. This enabled apps using @rpath to be bundled correctly, which will be necessary for upcoming Qt 5.4 that will use @rpath for all frameworks. Check that install_name_tool has -delete_rpath before using it. Otherwise it will fail with Xcode 3.x on 10.5 which has no -delete_rpath option for install_name_tool command, that was first introduced in 10.6 SDK, even that 10.5 supports LC_RPATH and @rpath. 10 October 2014, 14:16:24 UTC
14bc686 GetPrerequisites: Make sure dyld placeholders are prefixes Mac OS X dyld placeholders should be always prefixes, otherwise this can lead to some undefined behavior. 10 October 2014, 14:16:15 UTC
6c31379 BundleUtilities: Use find on UNIX for fast executable lookup It makes whole executable process quicker on UNIX, especially for large bundles containing many files, since using find narrows results to only files having executable flags then all further tests follow. Since find ... -perm +0111 is not clearly POSIX compliant and some Linux versions refuse it, it is better to use longer but portable: find ... -perm \( -perm -0100 -o -perm -0010 -o -perm -0001 \) 10 October 2014, 14:15:56 UTC
5ab9aa6 CMake Nightly Date Stamp 10 October 2014, 04:01:09 UTC
c0a4f59 Merge topic 'FindThreads_overhaul' b7e5c5a2 FindThreads: introduce THREADS_PREFER_PTHREAD_FLAG (#14767) bcb0e387 FindThreads: introduce an imported target to link to 46368edd FindThreads: move checking of the -pthread compiler flag into a macro 09 October 2014, 20:12:06 UTC
back to top