summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMake 3.1.2v3.1.2Brad King2015-02-041-1/+1
|
* Merge branch 'fix-msvc-linker-flags-typo' into release-3.1Brad King2015-02-032-2/+2
|\
| * MSVC: Fix initialization of RelWithDebInfo shared library link flags (#15385)Brad King2015-02-032-2/+2
| | | | | | | | | | | | | | | | | | | | Initialize CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT from the value of CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO_INIT rather than the one for the DEBUG configuration. This typo has been present since the logic was first added in commit 36db45082e (ENH: fix up several problems with new stuff, 2002-11-11). Reported-by: Gunnar Roth <gunnar.roth@gmx.de>
* | Merge branch 'fix-default-install-config' into release-3.1Brad King2015-02-031-9/+5
|\ \
| * | install: Fix regression in default configuration selectionBen Boeckel2015-02-031-9/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | The refactoring in commit v3.1.0-rc1~812^2~16 (stringapi: Pass configuration names as strings, 2014-02-09) broke the code path in cmLocalGenerator::GenerateInstallRules that intends to pick a default install configuration for multi-config generators. Fix the logic to select an empty default configuration only when using a single-config generator whose CMAKE_BUILD_TYPE is not set. Inspired-by: Roman Wüger <roman.wueger@gmx.at> Reported-by: NoRulez <norulez@me.com>
* | Merge branch 'backport-fix-cpack-symlink-create-dir' into release-3.1Brad King2015-01-301-0/+12
|\ \
| * | CPack: Fix packaging of source tarballs with symbolic linksBill Hoffman2015-01-301-0/+12
| |/ | | | | | | | | | | When staging the package installation, if the first file in a directory happens to be a symbolic link, make sure we create the directory before trying to create the link.
* | Merge branch 'ctest-update-gmake-error-match' into releaseBrad King2015-01-281-2/+2
|\ \
| * | ctest_build: Update GNU make error message matching (#15379)Marco Nolden2015-01-281-2/+2
| |/ | | | | | | | | | | | | The "No rule to make target" error message of gmake is not correctly recognized since GNU make changed the quoting style in commit 23c2b99e9d (Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines, 2012-03-04). Fix our regex to match both old and new quoting styles.
* | Merge branch 'fix-OBJECT_DEPENDS-after-path-normalization' into releaseBrad King2015-01-285-0/+35
|\ \
| * | Normalize OBJECT_DEPENDS paths to match custom commands (#15366)Brad King2015-01-285-0/+35
| |/ | | | | | | | | | | | | | | | | | | Custom command path normalization added in commit v3.1.0-rc1~471^2 (add_custom_command: Normalize OUTPUT and DEPENDS paths, 2014-05-28) broke use of OBJECT_DEPENDS to bring in custom commands because the latter paths were not normalized too. Normalize them and add a test case. Reported-by: Daniel v. Gerpen
* | Merge branch 'OpenSSL_102' into releaseBrad King2015-01-281-1/+1
|\ \
| * | FindOpenSSL: fix detection of OpenSSL 1.0.2Guillaume Belz2015-01-271-1/+1
| |/
* | Merge branch 'doc-link_libraries-note' into releaseBrad King2015-01-262-9/+12
|\ \
| * | Help: Clarify status of link_libraries commandBrad King2015-01-262-9/+12
| |/ | | | | | | | | | | | | | | | | The command has been documented as 'deprecated', but it is not really slated for removal and can still be used. Clarify this in the documentation. While at it, revise the documentation to use wording more consistent with that now in target_link_libraries. Suggested-by: Christoph Grüninger <foss@grueninger.de>
* | Merge branch 'backport-kwsys-directory-check-opendir' into releaseBrad King2015-01-231-0/+5
|\ \
| * | KWSys Directory: Check opendir return value before using it (#15367)Brad King2015-01-231-0/+5
| |/ | | | | | | In Directory::GetNumberOfFilesInDirectory add a missing check for NULL.
* | Merge branch 'FeatureSummary-fix-doc-typo' into releaseBrad King2015-01-231-2/+2
|\ \ | |/ |/|
| * FeatureSummary: Fix bracket in documentation.Christoph Grüninger2015-01-231-2/+2
|/
* CMake 3.1.1v3.1.1Brad King2015-01-201-1/+1
|
* Merge branch 'doc-virtual-override-specifiers-links' into releaseBrad King2015-01-191-2/+7
|\
| * Help: Link relevant documents for virtual override features (#15311)Stephen Kelly2015-01-191-2/+7
| |
* | Merge branch 'xcode-target-sort' into releaseBrad King2015-01-192-14/+54
|\ \
| * | Xcode: Sort targets deterministically and with ALL_BUILD first (#15346)Ben Boeckel2015-01-191-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default target in XCode is the first one in the file. In commit v3.1.0-rc1~286^2 (cmTarget: use a hash_map for cmTargets typedef, 2014-06-10) the order of the targets stored in cmMakefile was made non-deterministic instead of lexicographic. Teach the Xcode generator to do its own sorting to restore a predictable order. While at it, place ALL_BUILD first (as is done in VS IDE generators) explicitly in the comparison function so that it is the default target even if other targets sort earlier lexicographically (e.g. "AAA").
| * | Xcode: Fix early termination on per-config source file errorBrad King2015-01-192-13/+29
| |/ | | | | | | | | | | | | | | | | In commit v3.1.0-rc1~687^2~4 (cmTarget: Make the source files depend on the config, 2014-02-13) an early termination case was added to the Xcode generator. Fix handling of this case to actually abort all the generation steps. Otherwise some of the later steps are attempted without the preconditions normally established by earlier steps, possibly leading to a crash.
* | Merge branch 'emacs-mode-fix-word-at-point' into releaseBrad King2015-01-191-0/+1
|\ \
| * | cmake-mode.el: Re-add explicit call to require thingatptPeter Vasil2015-01-191-0/+1
| | | | | | | | | | | | | | | | | | Usually it is not needed to call '(require 'thingatpt')' explicitly because the function 'symbol-at-point' is in autoloaded but to be sure to have the function loaded in every case, require thingatpt.
* | | Merge branch 'emacs-mode-fix-word-at-point' into releaseBrad King2015-01-191-3/+7
|\ \ \ | |/ /
| * | 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 branch 'FindQt-fixes' into releaseBrad King2015-01-161-3/+10
|\ \ \
| * | | 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 branch 'fix-cmake-org-links' into releaseBrad King2015-01-163-4/+4
|\ \ \ \
| * | | | 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 branch 'release-3.0' into releaseBrad King2015-01-161-0/+1
|\ \ \ \
| * \ \ \ Merge branch 'eclipse-fix-cxx-natures' into release-3.0Brad King2015-01-161-0/+1
| |\ \ \ \
| | * | | | 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.
* | | | | | Merge branch 'fix-qcc-compiler-id' into releaseBrad King2015-01-153-3/+3
|\ \ \ \ \ \
| * | | | | | 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 branch 'fix-COMPILE_FEATURES-genex' into releaseBrad King2015-01-153-9/+17
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Features: Fix the COMPILE_FEATURES genex for unavailable features.Stephen Kelly2015-01-121-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the genex tested only for CMake knowledge of the feature, but not compiler knowledge of the feature.
| * | | | | cmMakefile: Rename a method to what it really does.Stephen Kelly2015-01-123-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | The method does not test availability of compile features.
* | | | | | Merge branch 'cpack-PackageMaker-OSX-10.10' into releaseBrad King2015-01-152-10/+26
|\ \ \ \ \ \
| * | | | | | CPack: Fix PackageMaker internal versioning for OS X 10.10Calin Cascaval2015-01-122-10/+26
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Avoid using a floating point value to represent the version, since "10.10" would be treated as "10.1".
* | | | | | Merge branch 'fix-LOCATION-with-TARGET_OBJECTS' into releaseBrad King2015-01-145-0/+21
|\ \ \ \ \ \
| * | | | | | cmTarget: Compute link language of TARGET_OBJECTS with CMP0026 OLD (#15338)Stephen Kelly2015-01-135-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit v3.1.0-rc1~297^2~5 (cmTarget: Drop 'head' argument from GetSourceFiles, 2014-07-10) exposed a dormant bug in source file computation, causing the test case to regress. After that commit, the source file computation and caching finds an existing container of source files. Prior to that patch, the GetSourceFiles method was called with either a null pointer for the head cmTarget, or it was called with the this pointer. The processSources method is eventually called, which normalizes the difference between the null pointer and the this pointer for the head target. However, the cache key depends on the actual pre-normalized pointer. The change in that commit caused the entry to be found in the cache where it was not before, which resulted in incorrect behavior. Prior to that commit, the test case also fails if the GetSourceFiles overload taking a vector<cmSourceFile*> is changed to normalize the head target at the beginning of the method: cmTarget const* head = head_ ? head_ : this; Such a construct was correctly used in other locations where similar caching was in place, before being removed in commit v3.1.0-rc1~310^2~25 (cmTarget: Remove 'head' argument from GetLinkInformation, 2014-06-12), but is not neccessary anymore. Commit v3.1.0-rc1~674^2~2 (cmTarget: Cache the cmSourceFiles in GetSourceFiles., 2014-04-05) introduced the caching, but fails the test case for an unrelated reason. That unrelated error was introduced in commit v3.1.0-rc1~688^2~5 (cmTarget: Allow any generator expression in SOURCES property., 2014-03-18) and fixed in commit v3.1.0-rc1~561^2~1 (cmTarget: Fix listing of source files at configure-time., 2014-04-13). All commits which fail the test case in the testable way do so when such a cached version of the source files is found and returned at generate time. In the test case, the cached content is populated at configure-time through the use of the deprecated LOCATION property with CMP0026 OLD. The cached content is an empty container for the bar target in the test case, because its source file 'foo.cpp.o' is not known until generate-time. That means that no source files are available to compute the link language and the reported error is issued. The actual problem is that the SourceFilesMap should be cleared after configure time by cmTarget::ClearLinkMaps. Clear it there now.
* | | | | | | Merge branch 'FindRuby-zero-version' into releaseBrad King2015-01-141-1/+1
|\ \ \ \ \ \ \
| * | | | | | | FindRuby: fix selection of version x.0 (#15345)David Coppa2015-01-121-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | When "Ruby_FIND_VERSION_MINOR" is 0, the "if(Ruby_FIND_VERSION_MAJOR AND Ruby_FIND_VERSION_MINOR)" check evaluated to false.
* | | | | | | Merge branch 'FindRuby-fix-version' into releaseBrad King2015-01-141-1/+1
|\ \ \ \ \ \ \