summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'use-member-insert'Brad King2015-01-196-36/+13
|\ | | | | | | | | | | | | | | | | fa889c4d cmakemain: Initialize vector content with iterators directly. 8211010c cmakemain: Use member insert in command line handling code. b5422573 cmListCommand: Replace loop with member algorithm. 92a37f92 Convert raw loops to set member insert. aac44e71 Convert raw loops to vector member insert.
| * cmakemain: Initialize vector content with iterators directly.Stephen Kelly2015-01-181-5/+1
| |
| * cmakemain: Use member insert in command line handling code.Stephen Kelly2015-01-181-4/+2
| |
| * cmListCommand: Replace loop with member algorithm.Stephen Kelly2015-01-181-7/+3
| |
| * Convert raw loops to set member insert.Stephen Kelly2015-01-182-10/+3
| |
| * Convert raw loops to vector member insert.Stephen Kelly2015-01-182-10/+4
| |
* | Merge topic 'delete-algorithm'Brad King2015-01-194-25/+21
|\ \ | | | | | | | | | | | | | | | 681d965d Use the cmDeleteAll algorithm for types derived from std::map. 4dc0c488 cmDeleteAll: Generalize deletion specialization for map types.
| * | Use the cmDeleteAll algorithm for types derived from std::map.Stephen Kelly2015-01-173-21/+4
| | |
| * | cmDeleteAll: Generalize deletion specialization for map types.Stephen Kelly2015-01-171-4/+17
| | | | | | | | | | | | | | | Assume that a container whose value_type is a std::pair should have its second member deleted.
* | | Merge topic 'remove-AppleClang-51-release-notes'Brad King2015-01-191-5/+0
|\ \ \ | | | | | | | | | | | | | | | | e11f8d64 Remove AppleClang-5.1-features.rst release notes.
| * | | Remove AppleClang-5.1-features.rst release notes.Stephen Kelly2015-01-171-5/+0
| |/ / | | | | | | | | | It is redundant after Xcode-clang-compile-features.rst.
* | | Merge topic 'FindQt-fixes'Brad King2015-01-191-3/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b937f753 FindQt: explicitely mention that it cannot Qt5 or later 6af8cbf2 FindQt: fix variable name in error message 49d05a47 FindQt: fix setting DESIRED_QT_VERSION if "find_package(Qt VVV)" was called
| * | | FindQt: explicitely mention that it cannot Qt5 or laterRolf Eike Beer2015-01-161-0/+3
| | | |
| * | | FindQt: fix variable name in error messageRolf Eike Beer2015-01-161-2/+2
| | | |
| * | | FindQt: fix setting DESIRED_QT_VERSION if "find_package(Qt VVV)" was calledRolf Eike Beer2015-01-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In case the given version was not only "3" or "4", but something like "4.8" DESIRED_QT_VERSION was set to an unsupported value. While at it also check that the version passed in is really in the range of 3.x and 4.x. Also suggest switching to the more specific find modules if possible.
* | | | Merge topic 'fix-cmake-org-links'Brad King2015-01-193-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 91fbcda2 Help: Update cmake.org links to avoid redirects
| * | | | Help: Update cmake.org links to avoid redirectsWilliam Lynch2015-01-163-4/+4
| | | | | | | | | | | | | | | | | | | | Some links to cmake.org now redirect, so link to the new pages directly.
* | | | | Merge topic 'emacs-mode-fix-word-at-point'Brad King2015-01-191-3/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ca80598e cmake-mode.el: Fix extracting keyword at point in cmake-help
| * | | | | cmake-mode.el: Fix extracting keyword at point in cmake-helpPeter Vasil2015-01-191-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.1.0-rc2~1^2~1 (cmake-mode.el: syntax of '_' should be treated as symbol, 2014-11-12) the 'word-at-point' function does not extract the whole keyword anymore if it contains an '_', because 'forward-word' stops at '_'. Use 'symbol-at-point' to extract a whole keyword even if there is an '_'.
* | | | | | Merge topic 'add-FindJsonCpp'Brad King2015-01-198-0/+159
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0aebeb9c FindJsonCpp: Add module to find JsonCpp package
| * | | | | | FindJsonCpp: Add module to find JsonCpp packageBrad King2015-01-198-0/+159
| | | | | | |
* | | | | | | Merge topic 'eclipse-fix-cxx-natures'Brad King2015-01-191-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6e6e0c40 Eclipse: Add org.eclipse.cdt.core.cnature to CXX projects (#15068)
| * | | | | | | Eclipse: Add org.eclipse.cdt.core.cnature to CXX projects (#15068)André Klitzing2015-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.0.0-rc1~335^2~1 (eclipse: Add natures for Eclipse based on enabled languages, 2013-08-29) CXX projects got only "ccnature", but Eclipse itself also adds "cnature" when creating C++ projects. Fix this by adding both for CXX projects.
* | | | | | | | CMake Nightly Date StampKitware Robot2015-01-191-1/+1
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2015-01-181-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-01-171-1/+1
| | | | | |
* | | | | | Merge topic 'GNU-4.6-compile-features'Brad King2015-01-1615-40/+61
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 770ba876 Help: Add notes for topic 'GNU-4.6-compile-features' b15c008f Features: Record for GNU 4.6. f13a2eb1 Features: Adjust the RunCMake test to use more-common features. 1f19ac4d Features: Adjust cxx_variadic_templates unit test for GNU < 4.7. 0798d1e5 Features: Extend the generalized_initializers test for GNU < 4.7. 938bd94e Features: Test __GXX_EXPERIMENTAL_CXX0X__ macro for GNU < 4.7 compatibility. 462c630b Features: Don't test __cplusplus value for CXX98 on GNU. 222ec86f Features: Test an old value of __STDC_VERSION__ for GNU < 4.7 compatibility. 6e909035 Features: Record C/CXX dialect flags for GNU 4.6. bfc995cc Features: Remove wrong content from else() condition. 1532b921 Features: Make cxx_noexcept available from GNU 4.6. 1f4649e6 Features: Update the default_dialect test for old GNU-like compilers. a60027a6 Features: Ensure appropriate return value from feature test macros.
| * | | | | | Help: Add notes for topic 'GNU-4.6-compile-features'Brad King2015-01-161-0/+5
| | | | | | |
| * | | | | | Features: Record for GNU 4.6.Stephen Kelly2015-01-155-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust the CompileFeatures genex_test for the expectation of the OVERRIDE_CONTROL feature group.
| * | | | | | Features: Adjust the RunCMake test to use more-common features.Stephen Kelly2015-01-152-6/+6
| | | | | | |
| * | | | | | Features: Adjust cxx_variadic_templates unit test for GNU < 4.7.Stephen Kelly2015-01-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unit test for this fails with GNU 4.6: Building CXX object CMakeFiles/test_cxx_variadic_templates.dir/cxx_variadic_templates.cpp.o CompileFeatures/cxx_variadic_templates.cpp: In static member function ‘static int Interface<I, Is>::accumulate()’: CompileFeatures/cxx_variadic_templates.cpp:18:31: sorry, unimplemented: cannot expand ‘Is ...’ into a fixed-length argument list CMakeFiles/test_cxx_variadic_templates.dir/build.make:54: recipe for target 'CMakeFiles/test_cxx_variadic_templates.dir/cxx_variadic_templates.cpp.o' failed The workaround is to use a specialization: http://stackoverflow.com/questions/1989552 http://stackoverflow.com/questions/11297376
| * | | | | | Features: Extend the generalized_initializers test for GNU < 4.7.Stephen Kelly2015-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That compiler requires a different initializer_list constructor, so update the test to match.
| * | | | | | Features: Test __GXX_EXPERIMENTAL_CXX0X__ macro for GNU < 4.7 compatibility.Stephen Kelly2015-01-151-7/+12
| | | | | | |
| * | | | | | Features: Don't test __cplusplus value for CXX98 on GNU.Stephen Kelly2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The macro is defined to 1 for GNU 4.6, and such a test is only useful for features in language dialects newer than the default (CXX98 for GNU currently). Test only that it has a truthy value.
| * | | | | | Features: Test an old value of __STDC_VERSION__ for GNU < 4.7 compatibility.Stephen Kelly2015-01-151-1/+6
| | | | | | |
| * | | | | | Features: Record C/CXX dialect flags for GNU 4.6.Stephen Kelly2015-01-152-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This release was prior to standardization of C11/CXX11.
| * | | | | | Features: Remove wrong content from else() condition.Stephen Kelly2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As this is not elseif(), the content has no effect. Rather than changing it to an elseif(), remove the conditional content. All versions of GNU prior to 5.0 default to C90/89. Clang-C.cmake has a similar code block which correctly uses elseif() for setting the default C dialect to C99. That may have been updated from a C90 default at some point, so leave the version condition there in place for now.
| * | | | | | Features: Make cxx_noexcept available from GNU 4.6.Stephen Kelly2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As listed in the reference document.
| * | | | | | Features: Update the default_dialect test for old GNU-like compilers.Stephen Kelly2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to GNU 4.7, GNU defined __cplusplus incorrectly, and defined __GXX_EXPERIMENTAL_CXX0X__ in C++11 mode.
| * | | | | | Features: Ensure appropriate return value from feature test macros.Stephen Kelly2015-01-156-12/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GNU-CXX already has complex logic and sets the _result to 0 before tests which may set it to something else. Change the other modules to be consistent with that.
* | | | | | | Merge topic 'extend-COMPILE_FEATURES-test'Brad King2015-01-162-0/+81
|\ \ \ \ \ \ \ | |/ / / / / / | | | / / / / | |_|/ / / / |/| | | | | 06ff5254 Features: Extend the tests for the COMPILE_FEATURES genex.
| * | | | | Features: Extend the tests for the COMPILE_FEATURES genex.Stephen Kelly2015-01-152-0/+81
| | | | | |
* | | | | | Merge topic 'windows-utf-8'Brad King2015-01-163-4/+28
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | cdc29c36 Encoding: Switch to use UTF-8 internally by default on Windows.
| * | | | | | Encoding: Switch to use UTF-8 internally by default on Windows.Clinton Stimpson2015-01-163-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes several reported bugs about CMake not handling non-ascii paths on Windows. Practically, the use of some unicode characters may still be limited by the build or compiler tools. For example, a user may be limited by the build tools to using characters within the Windows ANSI code page (which can include non-ascii characters in the current system language).
* | | | | | | Merge topic 'fix-qcc-compiler-id'Brad King2015-01-163-3/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9c9bc712 QNX: Fix detection of QCC compiler id (#15349)
| * | | | | | | QNX: Fix detection of QCC compiler id (#15349)Brad King2015-01-143-3/+3
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.1.0-rc1~113^2 (Use a more reliable regex for extracting binary INFO strings, 2014-09-03) the matching of INFO: strings was made more strict and no longer matches just "INFO:qnxnto". Use "INFO:qnxnto[]" instead to conform to the new pattern.
* | | | | | | Merge topic 'tests-RunCMake-report-command'Brad King2015-01-161-0/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c121924 Tests: Teach RunCMake to report command-line on failure
| * | | | | | | Tests: Teach RunCMake to report command-line on failureBrad King2015-01-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a test sets RunCMake_TEST_COMMAND, report the command line on failure to make it easier to run by hand for debugging.
* | | | | | | | Merge topic 'libarchive-constify-internal-get_date'Brad King2015-01-161-4/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6b9a0e17 libarchive: Constify internal __archive_get_date implementation
| * | | | | | | | libarchive: Constify internal __archive_get_date implementationBrad King2015-01-151-4/+4
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The caller of this API already re-declares it as const, so update the implementation accordingly.