summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/include
Commit message (Collapse)AuthorAgeFilesLines
* include: refactor call sites of cmMakefile::ReadDependentFileAsit Dhal2020-10-219-1/+27
| | | | Fixes: #16773
* Tests/RunCMake: Update cmake_minimum_required versionsBrad King2020-06-181-1/+1
| | | | Use 3.3 or 2.8.12 where possible.
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-1/+1
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Policies: omit warnings about unset policies when they are actually set to NEWNils Gladitz2014-03-311-4/+0
|
* Don't allow include() of export(EXPORT) file at configure time.Stephen Kelly2014-01-064-0/+14
| | | | | | | | | As a new feature it does not need to participate in CMP0024. Store cmExportBuildFileGenerator instances which correspond to the export(EXPORT) signature in a second map which does not own the pointers. This avoids the need to add cmExportBuildFileGenerator and dependencies to the bootstrap system.
* CMP0024: Store the fact of included export in global generator.Stephen Kelly2013-10-106-13/+12
| | | | | Storing it in the makefile means that the policy does not trigger when include and export are in differing directories.
* export: Add policy CMP0024 to disallow include() of export filesStephen Kelly2013-10-078-0/+58
| | | | | | | | | | | | | | | | | Currently, export() is executed at configure-time. One problem with this is that certain exported properties like the link interface may not be complete at the point the export() is encountered leading to an incorrect or incomplete exported representation. Additionally, the generated IMPORTED_LOCATION property may even be incorrect if commands following the export() have an effect on it. Another problem is that it requires the C++ implementation of cmake to be capable of computing the exported information at configure time. This is a limitation on the cleanup and maintenance of the code. At some point in the future, this limitation will be dropped and more implementation will be moved from cmTarget to cmGeneratorTarget.
* Cygwin: Avoid legacy warnings in RunCMake.* testsBrad King2013-08-131-1/+1
| | | | | | Set the minimum required version of CMake high enough to avoid the warning for CMAKE_LEGACY_CYGWIN_WIN32. The warning appears on stderr and breaks the expected output matching.
* include: Ignore empty string as file name (#13388)Brad King2012-07-106-0/+19
Previously CMake silently accepted the empty string and added a bogus dependency on the current directory. Instead warn about the empty file name and ignore it. We cannot make this an error because there may be existing projects that accidentally depend on the old behavior. Add a RunCMake.include test to cover this case.