summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Replace 'foo.size() > 0' pattern with !foo.empty().Stephen Kelly2015-01-1832-83/+83
|
* 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.
* | | | | Merge topic 'import-jsoncpp'Brad King2015-01-1623-0/+6388
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 89cd3d27 jsoncpp: Add README-CMake.txt 7e310624 jsoncpp: Provide 'isfinite' implementation on Solaris 4c496065 jsoncpp: Provide 'isfinite' implementation on ancient glibc 50032bc8 jsoncpp: Add missing assert before strcmp in json_value.cpp ad94b052 jsoncpp: Add missing <iosfwd> include in json/writer.h 7eba04fd jsoncpp: Include C headers since we use APIs without std:: 06f41e98 jsoncpp: Disable warnings to avoid changing 3rd party code 1fc55653 jsoncpp: Build the library within CMake 84d5674d jsoncpp: Include "config.h" before system headers a263d519 Merge branch 'jsoncpp-upstream' into import-jsoncpp 53f6ccb0 JsonCpp 1.0.0 (reduced) 32fd56b0 jsoncpp: Add .gitattributes to skip whitespace checks
| * | | | | jsoncpp: Add README-CMake.txtBrad King2015-01-151-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | Describe how to update jsoncpp from upstream.
| * | | | | jsoncpp: Provide 'isfinite' implementation on SolarisBrad King2015-01-151-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Solaris provides a 'finite' function in <ieeefp.h>.
| * | | | | jsoncpp: Provide 'isfinite' implementation on ancient glibcBrad King2015-01-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The glibc 2.1 headers provide isfinite only in C99 mode. Add its definition ourselves.
| * | | | | jsoncpp: Add missing assert before strcmp in json_value.cppBrad King2015-01-151-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The strcmp function does not allow NULL pointers, so add an assert to tell Clang scan-build that the code does not expect a NULL pointer.
| * | | | | jsoncpp: Add missing <iosfwd> include in json/writer.hBrad King2015-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The header uses std::ostream, so it must be declared.
| * | | | | jsoncpp: Include C headers since we use APIs without std::Brad King2015-01-152-5/+5
| | | | | |
| * | | | | jsoncpp: Disable warnings to avoid changing 3rd party codeBrad King2015-01-152-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add '-w' or equivalent flag on compilers supporting it. Tell MSVC to use its lowest warning level inside jsoncpp sources.
| * | | | | jsoncpp: Build the library within CMakeBrad King2015-01-155-1/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update json/json.h to account for our lack of autolink.h. Update json/config.h to include KWSys Large File Support configuration so that consistent stream libraries are used (on AIX with XL). Add a cm_jsoncpp_reader.h header to include the CMake-provided copy of the json/reader.h header from CMake sources.
| * | | | | jsoncpp: Include "config.h" before system headersBrad King2015-01-151-2/+2
| | | | | |
| * | | | | Merge branch 'jsoncpp-upstream' into import-jsoncppBrad King2015-01-1318-0/+6249
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a subtree merge to place the upstream content in the Utilities/cmjsoncpp directory.
| | * | | | | JsonCpp 1.0.0 (reduced)JsonCpp Upstream2015-01-1318-0/+6249
| | / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract upstream JsonCpp using the following shell code. url=https://github.com/open-source-parsers/jsoncpp && v=1.0.0 && r=7165f6ac && paths=" LICENSE include/json src/lib_json " && remove=" include/json/autolink.h src/lib_json/CMakeLists.txt src/lib_json/sconscript src/lib_json/version.h.in " && mkdir jsoncpp-$v-g$r-reduced && git clone $url jsoncpp-git && date=$(cd jsoncpp-git && git log -n 1 --format='%cd' $r) && (cd jsoncpp-git && git checkout $r && git archive --format=tar $r -- $paths) | (cd jsoncpp-$v-g$r-reduced && tar xv && rm -f $remove) && echo "g$r date: $date"
| * | | | | jsoncpp: Add .gitattributes to skip whitespace checksBrad King2015-01-131-0/+1
| |/ / / /
* | | | | Merge topic 'ExternalData-custom-download'Brad King2015-01-1620-185/+438
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 829fc5ad Help: Add notes for topic 'ExternalData-custom-download' 0fe4d8bb ExternalData: Add support for custom download scripts 945571db ExternalData: Improve documentation organization a32b2245 ExternalData: Re-order documentation 531e75e0 ExternalData: Document all variables defined by module f3884b47 ExternalData: Split documentation into sections 4ab5c652 ExternalData: Convert docs to a bracket comment
| * | | | | Help: Add notes for topic 'ExternalData-custom-download'Brad King2015-01-152-0/+9
| | | | | |
| * | | | | ExternalData: Add support for custom download scriptsBrad King2015-01-1519-1/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for a special URL template to map the fetch operation to a project-specified .cmake script insead of using file(DOWNLOAD). Extend the Module.ExternalData test to cover the behavior. Extend the RunCMake.ExternalData test to cover error cases.
| * | | | | ExternalData: Improve documentation organizationBrad King2015-01-151-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the basic DATA{} description to a section just before the file series description. Move all sections on referencing files into subsections of a common "Referencing Files" section. Subsume example usage into the introduction since it gives a high-level starting point to understand the rest of the docs.
| * | | | | ExternalData: Re-order documentationBrad King2015-01-151-97/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Put example usage just after the intro. Put hash algos last. Put variables right after functions since they both cover the module API.
| * | | | | ExternalData: Document all variables defined by moduleBrad King2015-01-151-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the "Module Variables" section to list variables previously mentioned only in text.
| * | | | | ExternalData: Split documentation into sectionsBrad King2015-01-151-67/+111
| | | | | | | | | | | | | | | | | | | | | | | | Also explicitly mark functions and variables.
| * | | | | ExternalData: Convert docs to a bracket commentBrad King2015-01-151-184/+185
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Use a bracket comment to hold the documentation instead of a block of line comments. This will make further updates easier.
* | | | | Merge topic 'fix-ctest_build-output-processing-regression'Brad King2015-01-161-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 509f2713 ctest_build: Fix logic regression in parent that clips build output
| * | | | | ctest_build: Fix logic regression in parent that clips build outputBrad King2015-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sweeping pattern change in commit 238dd2fb (Use insert instead of a loop in some cases, 2014-11-22) accidentally changed the iterator range used on the queue in cmCTestBuildHandler::ProcessBuffer. Instead of ending at the iterator positioned at the next newline to populate CurrentProcessingLine, it was changed to go to the end of the queue. This causes the line to contain newlines and possibly be cut off in the middle of a line. Fix this regression by restoring use of the proper end-of-line position.