summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Add more signature tests to RunCMake.configure_file testBrad King2015-03-0927-42/+54
| | | | | | | Move the test cases from Tests/CMakeTests/ConfigureFileTest.cmake.in over to use the RunCMake.configure_file infrastructure. This does much more robust verification of CMake output for each test case, and would have caught the regression fixed in our parent commit.
* configure_file: Do not warn about newline style argumentsBrad King2015-03-091-0/+7
| | | | | | | The unknown argument warning added by commit v3.2.0-rc1~452^2 (configure_file: Warn about unknown arguments, 2014-10-31) failed to account for options handled by the NewLineStyle member instead of directly in the main loop. Simply whitelist them for now.
* CMake 3.2.0-rc2v3.2.0-rc2Brad King2015-02-231-1/+1
|
* Merge branch 'FindCurses-remove-unused-check' into releaseBrad King2015-02-201-2/+0
|\
| * FindCurses: Drop unused check for cbreak in tinfo libraryBrad King2015-02-201-2/+0
| | | | | | | | | | | | | | | | | | | | This check was first added by commit v3.0.0-rc5~6^2 (FindCurses: Detect and satisfy ncurses dependency on tinfo, 2014-01-17), but it is not correctly conditioned on existence of the tinfo library and fails if the code path is taken but tinfo is not found. However, since commit v3.2.0-rc1~369^2 (FindCurses: Drop search for deprecated HP-UX cur_colr library, 2014-11-17) the result of the check is not used, so simply drop it.
* | Merge branch 'private-FindJsonCpp' into releaseBrad King2015-02-207-12/+10
|\ \
| * | bootstrap: Add --(no-)system-jsoncpp optionsBrad King2015-02-201-2/+4
| | | | | | | | | | | | Provide bootstrap-time control for using a system JsonCpp library.
| * | FindJsonCpp: Drop new module due to upstream jsoncpp providing packageBrad King2015-02-206-10/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Since jsoncpp 0.7.0 (2014-11-20) the upstream may provide a CMake package configuration file such that find_package(jsoncpp) will find a jsoncppConfig.cmake file. In order to avoid conflicting with this (especially on case-insensitive filesystems), and since we always prefer projects to provide package config files (that they maintain), it is better to not provide FindJsonCpp publicly. Move FindJsonCpp into a private source directory that is not installed so that we can still use it for building CMake itself. Reported-by: Ryan Pavlik <ryan.pavlik@gmail.com>
* | Merge branch 'cmake-gui-reset-generator-toolset-and-platform' into releaseBrad King2015-02-191-0/+2
|\ \
| * | cmake-gui: Reset generator platform and toolset on configure (#15411)Brad King2015-02-191-0/+2
| |/ | | | | | | | | | | | | | | At the start of each configure step we already reset the generator selection (CMAKE_GENERATOR) to match that loaded for the current project. Add missing code to reset the generator platform and toolset (CMAKE_GENERATOR_PLATFORM and CMAKE_GENERATOR_TOOLSET) also so that they do not leak across projects.
* | Merge branch 'binary-release-no-OpenSSL-on-Win-or-OSX' into releaseBrad King2015-02-182-12/+2
|\ \
| * | Utilities/Release: Build OS X and Win binaries without OpenSSLBrad King2015-02-182-12/+2
| |/ | | | | | | This will tell our curl to use the OS-native TLS/SSL APIs.
* | Merge branch 'FindJNI-awt-arch' into releaseBrad King2015-02-181-0/+1
|\ \
| * | FindJNI: Add arch-specific library dir for JDK 9 layout (#15408)Tiago Stürmer Daitx2015-02-181-0/+1
| |/ | | | | | | | | JDK9's directory structure changes and no jdk/jre exists. The arch lib path is now jdk/lib/<arch> (instead of jdk/jre/lib/<arch>).
* | Merge branch 'doc-3.2-relnotes-fixup' into releaseBrad King2015-02-131-6/+6
|\ \
| * | Help: In 3.2 relnotes move OpenGL/X11 to deprecated/removed sectionBrad King2015-02-131-6/+6
| | | | | | | | | | | | It is a possibly incompatible change.
* | | Merge branch 'doc-configure_file-output-location' into releaseBrad King2015-02-121-30/+95
|\ \ \ | |_|/ |/| |
| * | Help: Revise configure_file documentation (#15403)Brad King2015-02-121-30/+95
| |/ | | | | | | | | | | Format the documentation with better reST markup. Revise the wording to clarify how relative paths are handled. Also add an example section.
* | Merge branch 'cpack_rpm_mulit_prefix_fixup' into releasev3.2.0-rc1Brad King2015-02-111-1/+6
|\ \
| * | CPackRPM: Do not run file(GLOB_RECURSE) without CMP0009 set to NEWDomen Vrankar2015-02-111-1/+6
| | | | | | | | | | | | | | | | | | The file(GLOB_RECURSE) call added by commit 3ec02547 (CPackRPM: Allow multiple path relocation prefixes for one package, 2015-01-21) should not follow directory symlinks, so make sure CMP0009 is set to NEW.
* | | Merge branch 'FindCoin3D-drop-link' into releaseBrad King2015-02-111-2/+1
|\ \ \
| * | | FindCoin3D: Drop link to project homepageBrad King2015-02-111-2/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | The project has moved from <http://www.coin3d.org/> to <https://bitbucket.org/Coin3D/coin/wiki/Home>. Simply drop the out-dated link. Few find modules have links to the project sites. Anyone looking to use a given find module likely already knows about the project it finds and can use a search engine to find its homepage.
* | | Merge branch 'fix_timeout_docs' into releaseBrad King2015-02-101-1/+1
|\ \ \
| * | | Help: Fix variable reference in TIMEOUT test property docsZack Galbreath2015-02-101-1/+1
| |/ / | | | | | | | | | Link to 'CTEST_TEST_TIMEOUT', not 'CTEST_TESTING_TIMEOUT'.
* | | Merge branch 'bootstrap-sphinx-qthelp' into releaseBrad King2015-02-101-0/+8
|\ \ \
| * | | bootstrap: Add --sphinx-qthelp option to enable qthelp doc generationNuno Sucena Almeida2015-02-101-0/+8
| |/ /
* | | Merge branch 'makefile-missing-comment' into releaseBrad King2015-02-101-1/+1
|\ \ \
| * | | Makefile: Fix regression in target-bound custom command COMMENT outputNils Gladitz2015-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | Fix a logic typo introduced by commit v3.1.0-rc1~781^2 (Generalize cmCustomCommandGenerator to more fields, 2014-03-10).
* | | | Merge branch 'cpack_rpm_mulit_prefix_fixup' into releaseBrad King2015-02-101-1/+1
|\ \ \ \ | | |_|/ | |/| |
| * | | CPackRPM: Fix recognition of absolute relocation pathsDomen Vrankar2015-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | Fix typo in logic added by commit 3ec02547 (CPackRPM: Allow multiple path relocation prefixes for one package, 2015-01-21).
* | | | Merge branch 'no-global-setlocale' into releaseBrad King2015-02-069-12/+39
|\ \ \ \ | |/ / / |/| | |
| * | | Merge branch 'backport-no-global-setlocale' into no-global-setlocaleBrad King2015-02-069-12/+39
| |\ \ \ | | |_|/ | |/| | | | | | Resolve conflict in Source/CMakeLists.txt by taking both changes.
| | * | Add setlocale() calls around use of libarchive APIs (#14934, #15377)Brad King2015-02-064-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libarchive APIs use nl_langinfo(CODESET) for iconv so they need the locale to be set for LC_CTYPE. However, the rest of CMake does not define any behavior for non-ASCII character classification/conversion so we do not want to setlocale() globally. Add a RAII class to save, set, and restore the locale around calls to libarchive APIs. Inspired-by: Clinton Stimpson <clinton@elemtech.com>
| | * | Do not call setlocale() globally in CMake applications (#15377)Brad King2015-02-065-12/+0
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert the changes made by commit v3.1.0-rc1~406^2~1 (Encoding: Add setlocale() to applications, 2014-05-30) and commit v3.1.0-rc1~406^2 (Encoding: Change to only set LC_CTYPE, 2014-06-11), and other setlocale calls added later in their spirit. CMake has not been taught how to deal with non-C locales everywhere. We do not define any functionality for character conversions for non-ASCII strings. Another solution will be needed to address the original problem motivating addition of setlocale() calls.
* | | CMake 3.2.0-rc1 version updateBrad King2015-02-052-4/+4
| | |
* | | Help: Drop development topic notes to prepare releaseBrad King2015-02-052-9/+0
|/ / | | | | | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* | Merge topic 'rename-release-notes'Brad King2015-02-054-12/+12
|\ \ | | | | | | | | | | | | af8d1c17 Help: Rename 3.x.0 release notes to 3.x
| * | Help: Rename 3.x.0 release notes to 3.xBrad King2015-02-054-12/+12
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.0.0-rc1~9 (Help: Rename 3.0 release notes to 3.0.0, 2014-02-19) we anticipated the possibility of bugfix-only release notes. However, in practice we have no release notes for bug fix releases because we do not cover bug fixes in release notes at all, only new features. Instead we've been updating the feature-level release notes document in bug fix releases, treating errors in the document as bugs. It makes more sense to maintain release notes at the feature-release level, so rename the documents accordingly. Also update the document titles and intro text to refer only to feature versions and not bugfix versions.
* | Merge topic 'doc-3.2-relnotes'Brad King2015-02-0553-341/+283
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | d81bbc3f Help: Add 3.2 release note for AUTORCC dependency tracking 0f38d9c2 Help: Add 3.2 release notes for file(GENERATE) features 0f580e8e Help: Organize and revise 3.2 release notes e08a78dc Help: Consolidate 3.2 release notes 3a4381b6 Help: Add link target to cmake-language.7 encoding section
| * | Help: Add 3.2 release note for AUTORCC dependency trackingStephen Kelly2015-02-051-0/+4
| | |
| * | Help: Add 3.2 release notes for file(GENERATE) featuresStephen Kelly2015-02-051-0/+7
| | |
| * | Help: Organize and revise 3.2 release notesBrad King2015-02-051-154/+174
| | | | | | | | | | | | | | | | | | | | | | | | Add section headers similar to the 3.1 release notes and move each individual bullet into an appropriate section. Revise and consolidate some bullets covering related areas. Co-Author: Stephen Kelly <steveire@gmail.com>
| * | Help: Consolidate 3.2 release notesBrad King2015-02-0552-341/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move all development release notes into a new version-specific document: tail -q -n +3 Help/release/dev/* > Help/release/3.2.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.
| * | Help: Add link target to cmake-language.7 encoding sectionBrad King2015-02-051-0/+2
| | |
* | | Merge topic 'update-docs'Brad King2015-02-054-3/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | f9839c49 Help: Document build targets automatically added to console pool. 44d6f3ce Help: Add some cross-linking.
| * | | Help: Document build targets automatically added to console pool.Stephen Kelly2015-02-041-0/+3
| | | |
| * | | Help: Add some cross-linking.Stephen Kelly2015-02-043-3/+3
| |/ /
* | | Merge topic 'fix-C-standard-features'Brad King2015-02-0516-21/+198
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb3487a9 Features: Fix C90 feature detection. 6027798a Features: Allow setting standard dialect below the default. 9d767810 Features: Populate CMAKE_<LANG>_STANDARD_DEFAULT only for supported compilers. 72537e44 Features: Add dialect compile flags only if default is known. 82c9d686 AppleClang: Remove redundant UNIX condition.
| * | | Features: Fix C90 feature detection.Stephen Kelly2015-02-048-3/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bug caused c_function_prototypes to not be recorded at configure time when compiling with -std=gnu99 or similar. In the case of feature recording, that was not a problem, because the logic in CMakeDetermineCompileFeatures.cmake currently assumes that a feature present for an earlier standard is present for a later standard. However, the detection strings are also used in WriteCompilerDetectionHeader, so the feature macro has been defined to '0' when using a later language dialect. Fix that by not checking the existence of the __STDC_VERSION__ macro at all when detecting C90 features.
| * | | Features: Allow setting standard dialect below the default.Stephen Kelly2015-02-041-1/+15
| | | | | | | | | | | | | | | | | | | | If the requested standard dialect is older than the default dialect then we must use a flag because we cannot decay to a newer standard.