summaryrefslogtreecommitdiff
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'install-prefix-in-interface'Brad King2014-04-103-0/+27
|\ | | | | | | | | | | 783bce29 Export: Disallow exported interface includes in src/build tree (#14592). c869984e RunCMake: Allow specifying the source dir and file to test.
| * Export: Disallow exported interface includes in src/build tree (#14592).Stephen Kelly2014-04-093-0/+27
| | | | | | | | | | | | | | | | | | | | | | Allow directories in the source tree or build tree only if the install tree is a subdirectory of the source tree or build tree, as appropriate. Re-use the test files in the RunCMake.include_directories test to run in multiple scenarios. Bump the required CMake version in the test to 3.0 to ensure that the new policy warnings are emitted correctly.
* | Merge topic 'ExternalProject_exclude-from-all'Brad King2014-04-031-0/+11
|\ \ | |/ |/| | | | | f4fe6322 Help: Add notes for topic 'ExternalProject_exclude-from-all'
| * Help: Add notes for topic 'ExternalProject_exclude-from-all'Brad King2014-04-031-0/+11
| |
* | Merge topic 'target-transitive-sources'Brad King2014-04-039-3/+64
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9407174b target_sources: New command to add sources to target. 81ad69e0 Make the SOURCES target property writable. 6e636f2e cmTarget: Make the SOURCES origin tracable. 3676fb49 cmTarget: Allow transitive evaluation of SOURCES property. e6971df6 cmTarget: Make the source files depend on the config. df753df9 cmGeneratorTarget: Don't add computed sources to the target. 869328aa cmComputeTargetDepends: Use valid config to compute target depends.
| * | target_sources: New command to add sources to target.Stephen Kelly2014-04-023-0/+34
| | |
| * | Make the SOURCES target property writable.Stephen Kelly2014-04-022-2/+7
| | |
| * | cmTarget: Make the SOURCES origin tracable.Stephen Kelly2014-04-021-1/+2
| | |
| * | cmTarget: Allow transitive evaluation of SOURCES property.Stephen Kelly2014-04-023-0/+21
| | | | | | | | | | | | | | | | | | | | | Extend the cmGeneratorExpressionDAGChecker with an interface returning the name of the top target. Use that to determine when there is a DAG violation, as required by the RunCMake.Languages tests.
* | | Merge topic 'target-sources-refactor'Brad King2014-04-038-4/+62
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5de63265 Genex: Only evaluate TARGET_OBJECTS to determine target sources. aa0a3562 cmGeneratorTarget: Compute target objects on demand 042c1c83 cmTarget: Compute languages from object libraries on demand. fdcefe3c cmGeneratorTarget: Compute consumed object libraries on demand. c355d108 cmComputeTargetDepends: Track object library depends. e5da9e51 cmTarget: Allow any generator expression in SOURCES property. 5702e106 cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 857d30b5 cmGlobalGenerator: Add interface to call ForceLinkerLanguages 28e1d2f8 cmStringCommand: Add GENEX_STRIP subcommand. bf98cc25 Genex: Evaluate TARGET_OBJECTS as a normal expression. 8cd113ad cmTarget: Store strings instead of cmSourceFile* to represent SOURCES. 4959f341 cmSourceFileLocation: Collapse full path for directory comparisons. fcc92878 cmSourceFileLocation: Remove unused Update method. 59e8740a cmTarget: Remove AddSourceFile method 26d494ba cmTarget: Use string API to add sources to cmTarget objects. d38423ec cmTarget: Add a method to obtain list of filenames for sources. ...
| * | | Genex: Only evaluate TARGET_OBJECTS to determine target sources.Stephen Kelly2014-04-022-7/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | The output of this expression may contain macros for IDEs to replace such as $(Configuration), $(CURRENT_ARCH) etc. To avoid generating content which is not usable in other contexts, report an error if there is an attempt to use it in other contexts. This commit may be reverted in the future if a solution to the above difference is implemented.
| * | cmTarget: Allow any generator expression in SOURCES property.Stephen Kelly2014-04-023-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove use of UseObjectLibraries from Makefile and Ninja generators. It is not needed now because those generators use GetExternalObjects which already contains the objects from object libraries. The VS10 generator calls both the UseObjectLibraries and the GetExternalObjects methods. Ensure that duplicates are not created by skipping objects from object libraries in handling of GetExternalObjects. Similarly, fix VS6, VS7 and Xcode object handling by skipping external objects from OBJECT_LIBRARY usage as appropriate. The error message in the BadSourceExpression1 test is now reported by the generator expression evaluator, so it has different text.
| * | cmTarget: Include TARGET_OBJECTS genex in target SOURCES property.Stephen Kelly2014-04-023-0/+32
| | | | | | | | | | | | Add policy CMP0051 to control this behavior.
| * | cmStringCommand: Add GENEX_STRIP subcommand.Stephen Kelly2014-03-312-0/+11
| | | | | | | | | | | | Strip out any generator expressions in the input string.
| * | Genex: Evaluate TARGET_OBJECTS as a normal expression.Stephen Kelly2014-03-312-0/+9
| |/
* | Merge topic 'revise-compiler-id-policies'Brad King2014-04-034-24/+60
|\ \ | | | | | | | | | | | | | | | | | | | | | 13684e2b cmMakefile: Port PolicyOptionalWarningEnabled to string APIs 8018fcca Merge branch 'master' into revise-compiler-id-policies a41c0a9d Do not warn by default when policy CMP0025 or CMP0047 is not set d339653e Help: Revise and format policy CMP0025 and CMP0047 docs
| * \ Merge branch 'master' into revise-compiler-id-policiesBrad King2014-04-0244-46/+236
| |\ \ | | |/
| * | Do not warn by default when policy CMP0025 or CMP0047 is not setBrad King2014-04-024-7/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These policies are triggered by the use of a particular compiler rather than outdated CMake code in a project. Avoid warning in every project that enables a language by not displaying the policy warning by default. Add variable CMAKE_POLICY_WARNING_CMP<NNNN> to control the warning explicitly; otherwise enable the warning with --debug-output or --trace. This breaks with strict policy convention because it does not provide developers with any warning about the behavior change by default. Existing projects will continue to build without a warning or change in behavior. When a developer changes the minimum required version of CMake in a project to a sufficiently high value (3.0), the project will suddenly get the new compiler id and may break, but at least the breakage comes with a change to the project rather than the version of CMake used to build it. Breaking strict policy convention is worthwhile in this case because very few projects will be affected by the behavior change but every project would have to see the warning if it were enabled by default.
| * | Help: Revise and format policy CMP0025 and CMP0047 docsBrad King2014-04-022-20/+31
| | | | | | | | | | | | | | | | | | Add inline reST markup as appropriate. Word CMP0047 docs more like those of CMP0025. State explicitly that the policies must be set before the project or enable_language command calls.
* | | Help: Rewrite the cmake-developer.7 find module documentationAlex Merry2014-04-021-175/+370
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | As well as the traditional variables, providing imported targets is suggested, and the relative advantages and disadvantages briefly discussed. A mini-tutorial walking through creating a simple find module is provided. This changes the recommended version variable from Foo_VERSION_STRING to Foo_VERSION, because there is really no need to have different variable names for package version files vs. find modules. It notes the old variable name, though, and suggests setting it for compatibility.
* | Merge topic 'fix-Qt-manual-typo'Brad King2014-03-261-1/+1
|\ \ | | | | | | | | | | | | dcfbbe87 Help: Fix typo in cmake-qt manual.
| * | Help: Fix typo in cmake-qt manual.Stephen Kelly2014-03-261-1/+1
| |/ | | | | | | Do -> To.
* | ninja: Add support for custom depfile formatsBen Boeckel2014-03-231-0/+5
| | | | | | | | | | | | | | | | Not everything that isn't MSVC is GCC. I have support for LDC's depfile format on its way upstream[1], but its future is uncertain. CMake should at least support this for future depfile formats. [1]https://github.com/martine/ninja/pull/721
* | Merge topic 'ExternalProject-no-download-progress'Brad King2014-03-201-0/+6
|\ \ | | | | | | | | | | | | | | | f1b953ec Help: Add notes for topic 'ExternalProject-no-download-progress' 7d35b550 ExternalProject: Add option to disable download progress (#14807)
| * | Help: Add notes for topic 'ExternalProject-no-download-progress'Brad King2014-03-171-0/+6
| | |
* | | add_custom_command: Evaluate generator expressions in DEPENDSStephen Kelly2014-03-202-0/+9
|/ / | | | | | | | | | | | | Rely on evaluation in cmCustomCommandGenerator for the generators. When tracing target dependencies, depend on the union of dependencies for all configurations.
* | Merge branch 'master' into CONFIG-LOCATION-CMP0026Brad King2014-03-1739-45/+215
|\ \ | |/ |/|
| * Merge topic 'cpack-deb-compression-types'Brad King2014-03-141-0/+6
| |\ | | | | | | | | | | | | 16caa6ec Help: Add release notes for topic 'cpack-deb-compression-types'
| | * Help: Add release notes for topic 'cpack-deb-compression-types'Brad King2014-03-141-0/+6
| | |
| * | Merge topic 'ctest-intel-coverage'Brad King2014-03-141-0/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | 3a7501d9 Help: Add release notes for topic 'ctest-intel-coverage' 9840320d CTest: Add support for Intel coverage files
| | * | Help: Add release notes for topic 'ctest-intel-coverage'Brad King2014-03-141-0/+5
| | |/
| * | Help: Drop cmStdString from cmake-developer(7) examplesBrad King2014-03-131-6/+6
| |/ | | | | | | The type no longer exists within CMake.
| * Merge topic 'ctest-coverage-extra'Brad King2014-03-111-0/+5
| |\ | | | | | | | | | | | | | | | 93d5c4dc Help: Add release notes for topic 'ctest-coverage-extra' ef1c1153 CTest: Teach ctest_coverage() to read CTEST_COVERAGE_EXTRA_FLAGS
| | * Help: Add release notes for topic 'ctest-coverage-extra'Brad King2014-03-101-0/+5
| | |
| * | Merge topic 'doc-osx-path-variables'Brad King2014-03-103-0/+13
| |\ \ | | |/ | |/| | | | | | | 764e977a Help: Document variables CMAKE_APPBUNDLE_PATH and CMAKE_FRAMEWORK_PATH
| * | Merge branch 'release'Brad King2014-03-102-4/+2
| |\ \
| * \ \ Merge topic 'link-libraries-response-files'Brad King2014-03-061-0/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 489b1c23 Windows: Use response files to specify link libraries for GNU tools 745caae6 Makefile: Rename linker response file boolean to be more specific 5e8e4d0f cmLocalGenerator: Add response file option to OutputLinkLibraries b9aa5041 cmLocalGenerator: Simplify GetIncludeFlags output formatting 971653b7 cmLocalGenerator: Add format option to ConvertToLinkReference 0c0ef9e7 cmLocalGenerator: Add format option to ConvertToIncludeReference 02bebd60 cmLocalGenerator: Add format option to ConvertToOutputForExisting c8751709 Makefile: Factor out some duplicate link libraries generation
| | * | | Windows: Use response files to specify link libraries for GNU toolsBrad King2014-03-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Work around the command-line-length limit by using an @linklibs.rsp response file to pass the flags for link libraries. This allows very long lists of libraries to be used in addition to the existing support for passing object files via response file. Suggested-by: Peter Keuschnigg <peter.keuschnigg@pmu.ac.at>
| * | | | Merge topic 'FeatureSummary_combine_WHAT_values'Brad King2014-03-051-0/+6
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4da09d1a Help: Add release notes for topic 'FeatureSummary_combine_WHAT_values'
| | * | | | Help: Add release notes for topic 'FeatureSummary_combine_WHAT_values'Brad King2014-03-051-0/+6
| | |/ / /
| * | | | Merge topic 'doc-host-target-vars'Brad King2014-03-058-26/+32
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 06986afc Help: Update CMAKE_SYSTEM* and CMAKE_HOST_SYSTEM* documentation
| | * | | | Help: Update CMAKE_SYSTEM* and CMAKE_HOST_SYSTEM* documentationJiri Malak2014-03-048-26/+32
| | |/ / / | | | | | | | | | | | | | | | | | | | | Update to documentation for HOST/TARGET system related variables to be consistent with current functionality.
| * | | | Merge topic 'doc-find_package-build-paths'Brad King2014-03-051-0/+1
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | 69d73d27 Help: Mention in find_package that cmake-gui step is Windows-only (#14781)
| * | | | Merge topic 'add_definitions-no-genex'Brad King2014-03-031-4/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 1a9316a8 add_definitions: Don't document genex support.
| * \ \ \ \ Merge topic 'CMP0043-dir-prop'Brad King2014-03-031-1/+7
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 38df26bc CMP0043: Document old and new interfaces for setting directory property.
| * \ \ \ \ \ Merge topic 'FindRuby-2'Brad King2014-03-031-0/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57abfeaa Help: Add FindRuby-2 topic release notes 165f6430 FindRuby: Add support for Ruby 2.0 and 2.1
| * \ \ \ \ \ \ Merge topic 'FindPkgConfig-PKG_CONFIG'Brad King2014-02-281-0/+5
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80aa18b4 Help: Add release notes for topic 'FindPkgConfig-PKG_CONFIG' c53b5cd2 FindPkgConfig: Prefer PKG_CONFIG to find pkg-config (#13175)
| | * | | | | | | Help: Add release notes for topic 'FindPkgConfig-PKG_CONFIG'Brad King2014-02-281-0/+5
| | | | | | | | |
| * | | | | | | | Merge topic 'FindGTest-AUTO-SOURCES'Brad King2014-02-281-0/+7
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ac42bca8 Help: Add FindGTest-AUTO-SOURCES topic release notes c50325b8 FindGTest: Optionally detect sources automatically (#14775)
| | * | | | | | | | Help: Add FindGTest-AUTO-SOURCES topic release notesBrad King2014-02-271-0/+7
| | | | | | | | | |