summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'target-sources-error-conditions'Brad King2014-12-0119-8/+93
|\ | | | | | | | | | | | | 8a75c7ef Help: Document the export limitation of INTERFACE_SOURCES. e1348056 Export: Disallow export of targets with INTERFACE_SOURCES bb5905bb cmTarget: Don't allow relative paths in INTERFACE_SOURCES
| * Help: Document the export limitation of INTERFACE_SOURCES.Stephen Kelly2014-11-292-0/+8
| |
| * Export: Disallow export of targets with INTERFACE_SOURCESStephen Kelly2014-11-299-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be allowed in the next release, but it needs to have some features present and tested such as * Ensuring that relative paths do not appear in the generated property. * Ensuring that paths to the source or build directories do not appear. * Generating a check in the file for CMake 3.1 or later so that the resulting property will be consumed. * Ensuring that any referenced targets are part of an export set and generating a check for them. * INSTALL_INTERFACE and BUILD_INTERFACE content. All of these checks are already done for INTERFACE_INCLUDE_DIRECTORIES, but it is too late to add them for INTERFACE_SOURCES for CMake 3.1. As the checks introduce some new error conditions, it is better to disallow exporting fully for this case and introduce proper error conditions later instead of policies.
| * cmTarget: Don't allow relative paths in INTERFACE_SOURCESStephen Kelly2014-11-299-8/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow the pattern of checks that are made for INTERFACE_INCLUDE_DIRECTORIES. Existence is already checked by cmSourceFile::GetFullPath. Add a check to disallow relative paths in source directories. Otherwise code such as target_sources(lib1 INTERFACE foo.cpp) would fail if consumed by a target in a different directory. Unlike the INTERFACE_INCLUDE_DIRECTORIES behavior, we don't care whether the entry comes from an IMPORTED target or not. In the include directories case, the directory for a non-imported target might not exist yet but might be created. In the sources case, a file which does not yet exist in the filesystem must be explicitly marked with the GENERATED property. Adjust existing tests and add a new test for the error.
* | Merge topic 'doc-installed-file-property'Brad King2014-12-013-28/+69
|\ \ | | | | | | | | | | | | | | | | | | 89bb34d3 Help: Add 3.1 release notes for INSTALL property scope 07254a81 Help: Document installed file property API a1aceb25 Help: Format set_property and get_property command docs
| * | Help: Add 3.1 release notes for INSTALL property scopeBrad King2014-12-011-0/+6
| | |
| * | Help: Document installed file property APINils Gladitz2014-12-012-0/+21
| | | | | | | | | | | | | | | | | | Since commit v3.1.0-rc1~479^2~1 (Add an "installed file" property scope, 2014-05-15) the get_property and set_property commands support an 'INSTALL' scope. Add documentation for this scope.
| * | Help: Format set_property and get_property command docsBrad King2014-12-012-28/+42
| | |
* | | Merge topic 'doc-CMP0053-dedup-char'Brad King2014-12-011-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 191d2b20 Help: Remove duplicate '#' in CMP0053 valid character list
| * | | Help: Remove duplicate '#' in CMP0053 valid character listChristoph Grüninger2014-12-011-1/+1
| | |/ | |/|
* | | Merge topic 'fix-transitive-OBJECT_SOURCES-context'Brad King2014-12-012-35/+44
|\ \ \ | | | | | | | | | | | | | | | | 672f1001 Genex: Fix evaluation context propagation for TARGET_OBJECTS.
| * | | Genex: Fix evaluation context propagation for TARGET_OBJECTS.Stephen Kelly2014-11-262-35/+44
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract a new method to encapsulate the requirements of evaluating dependent-expressions, namely, propagation of the EvaluateForBuildsystem setting, which is missing from the getLinkedTargetsContent implementation. Commit v3.1.0-rc1~688^2 (Genex: Only evaluate TARGET_OBJECTS to determine target sources., 2014-03-20) introduced an error case for use of TARGET_OBJECTS outside of the context of generating the buildsystem, as the path to object files may be dependent on buildsystem variables (See bug #15226). Commit v3.1.0-rc1~314^2 (Allow INTERFACE_SOURCES to specify $<TARGET_OBJECTS> (#14970), 2014-07-09) made it possible to propagate such content to dependent targets. While that commit propagated the EvaluateForBuildsystem setting for the case of a TARGET_PROPERTY expression, as generated for direct dependencies of a target in cmTargetInternals::AddInterfaceEntries, it did not add propagation for content from further transitive target dependencies, as determined by getLinkedTargetsContent.
* | | Merge topic 'fix-source-case-matching'Brad King2014-12-011-1/+2
|\ \ \ | | | | | | | | | | | | | | | | 84d124e8 Fix lookup of source names after conversion to their actual case (#15259)
| * | | Fix lookup of source names after conversion to their actual case (#15259)Brad King2014-11-261-1/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.1.0-rc1~688^2~15 (cmTarget: Add a method to obtain list of filenames for sources, 2014-03-17) we have code paths that lookup sources by strings containing their own full path after normalization to the actual case on disk. This fails in the case that a cmSourceFile has already been created with a different case in the filename. The comparison of the directory works because it is always normalized. Only the comparison of the file name fails. Fix this by using a case-insensitive comparison of source file names on platforms that do not have case-sensitive filesystems.
* | | Merge topic 'revert-cached-regex-clear-for-master'Brad King2014-12-015-60/+43
|\ \ \ | | | | | | | | | | | | | | | | | | | | 808c77e2 Merge branch 'revert-cached-regex-clear' into revert-cached-regex-clear-for-master 7d674b5f Revert "ClearMatches: Only clear matches which were actually set" (#15261)
| * \ \ Merge branch 'revert-cached-regex-clear' into ↵Brad King2014-11-265-60/+43
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | revert-cached-regex-clear-for-master Resolve conflict in Source/cmMakefile.h by integrating both changes.
| | * | | Revert "ClearMatches: Only clear matches which were actually set" (#15261)Ben Boeckel2014-11-265-60/+43
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit v3.1.0-rc1~557^2~2 (ClearMatches: Only clear matches which were actually set, 2014-03-12). The optimization did not track the match count in the same scope as the variables, allowing possible inconsistency. Resolve conflicts in Source/cmIfCommand.cxx, Source/cmMakefile.cxx, and Source/cmMakefile.h by moving the changes to the new location of the code involved.
* | | | Merge topic 'FindwxWidgets-new-versions'Brad King2014-12-011-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 75dee2f2 FindwxWidgets: Add versions 3.0.1 and 3.0.2
| * | | | FindwxWidgets: Add versions 3.0.1 and 3.0.2Christopher Gittner2014-11-261-0/+2
| | |_|/ | |/| |
* | | | Merge topic 'use-latest-language-dialects'Brad King2014-12-011-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | d49f1c5e Build CMake with most-recent available language dialect.
| * | | | Build CMake with most-recent available language dialect.Stephen Kelly2014-11-181-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CMake is built with CMake 3.1 or later, appropriate -std= options will be added for GNU and Clang compilers while building C and CXX code. This allows taking advantage of 'hidden' language features such as move-constructors, and allows the standard library to enable the use of more-advanced features too, where available. This does not change CMake host compiler requirements.
* | | | | CMake Nightly Date StampKitware Robot2014-12-011-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-11-301-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-11-291-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-11-281-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2014-11-271-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'break-command-strictness'Brad King2014-11-2631-1/+242
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | d54617d0 break: Add policy CMP0055 to check calls strictly bae604d9 Track nested loop levels in CMake language with a stack of counters
| * | | | break: Add policy CMP0055 to check calls strictlyGregor Jasny2014-11-2527-1/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reject break() without loop scope or any arguments. Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
| * | | | Track nested loop levels in CMake language with a stack of countersGregor Jasny2014-11-254-0/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It gets incremented while entering a loop block (e.g. foreach or while) and gets decremented when leaving the block. Because scope borders for example at function borders must be taken into account the counter is put into a stack. With every new scope an empty counter is pushed on the stack, when leaving the scope the original value is restored. This will allow easy querying if the break command is properly nested within a loop scope. Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
* | | | | Merge branch 'release'Brad King2014-11-260-0/+0
|\ \ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge branch 'C-features-Wundef' into releaseBrad King2014-11-264-4/+18
| |\ \ \ \
* | \ \ \ \ Merge topic 'return-test-foreach'Brad King2014-11-265-0/+18
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d124c411 return: Add test for returning inside a foreach loop
| * | | | | | return: Add test for returning inside a foreach loopGregor Jasny2014-11-255-0/+18
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
* | | | | | Merge topic 'remove-developer-forbidden-API'Brad King2014-11-261-26/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | beaea609 Remove note disallowing use of some string and vector API.
| * | | | | | Remove note disallowing use of some string and vector API.Stephen Kelly2014-11-251-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compilers introducing these limitations are no longer supported as host compilers.
* | | | | | | Merge topic 'ccmake-system-form'Brad King2014-11-263-5/+23
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6b045c3b ccmake: Add CMAKE_USE_SYSTEM_FORM option to use libform instead of cmForm
| * | | | | | | ccmake: Add CMAKE_USE_SYSTEM_FORM option to use libform instead of cmFormÅdne Hovda2014-11-253-5/+23
| | |/ / / / / | |/| | | | |
* | | | | | | Merge topic 'WCDH-multi-file'Brad King2014-11-2615-27/+212
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4cf5179c WCDH: Make it possible to generate multiple files.
| * | | | | | | WCDH: Make it possible to generate multiple files.Stephen Kelly2014-11-2415-27/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the write_compiler_detection_header interface to allow specifying a location for supplementary files, and getting the list of resulting files as a variable.
* | | | | | | | Merge topic 'C-features-Wundef'Brad King2014-11-264-4/+18
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | d0af0fae WCDH: Make the header -Wundef safe for the C language.
| * | | | | | | WCDH: Make the header -Wundef safe for the C language.Stephen Kelly2014-11-254-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The __STDC_VERSION__ macro may be defined or not depending on the implementation dialect of C. Test that it is defined before testing its value. The CXX tests do not need such a change because they define __cplusplus in all dialects.
* | | | | | | | CMake Nightly Date StampKitware Robot2014-11-261-1/+1
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge topic 'custom-command-byproducts'Brad King2014-11-251-0/+7
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | 1f4f2aab Help: Add notes for topic 'custom-command-byproducts'
| * | | | | | Help: Add notes for topic 'custom-command-byproducts'Brad King2014-11-251-0/+7
| | | | | | |
* | | | | | | Merge topic 'doc-drop-borland-workaround'Brad King2014-11-251-22/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2af447d Remove disallowed feature which Borland did not accept.
| * | | | | | | Remove disallowed feature which Borland did not accept.Stephen Kelly2014-11-251-22/+0
| | | | | | | |
* | | | | | | | Merge topic 'remove-ancient-msvc-workarounds'Brad King2014-11-257-57/+5
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12cb0b86 Help: Update developer manual with some C++ features now permitted. ba74465f cmGeneratorTarget: Remove MSVC7 workaround 41363c0c VisualStudio: Remove MSVC6 compatibility macro. 4efcfe52 cmSystemTools: Remove MSVC6 compatibility define. 5f4695cd cmStandardIncludes: Remove MSVC6 condition for cmArrayBegin macro. 7a064337 cmFindCommon: Remove MSVC6 workaround for nested struct private access. fdb73547 cmTarget: Remove std::min and std::max MSVC6 compatibility code.
| * | | | | | | Help: Update developer manual with some C++ features now permitted.Stephen Kelly2014-11-201-7/+1
| | | | | | | |
| * | | | | | | cmGeneratorTarget: Remove MSVC7 workaroundStephen Kelly2014-11-201-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use partial specialization everywhere.
| * | | | | | | VisualStudio: Remove MSVC6 compatibility macro.Stephen Kelly2014-11-201-6/+0
| | | | | | | |