summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetPropertyGeneratorExpressions
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Display error if generate step failsKyle Edwards2019-05-133-3/+9
|
* Testing: Update hard-coded line numbers to [0-9]+ in some testsKyle Edwards2018-10-104-11/+11
|
* Tests: Speed up RunCMake.TargetPropertyGeneratorExpressionsBrad King2018-01-2562-241/+135
| | | | Consolidate similar test cases.
* 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.
* Tests: Don't rely on ordering of targets in maps.Stephen Kelly2015-05-176-6/+6
|
* RunCMake: Remove unneeded files.Stephen Kelly2015-02-091-1/+0
| | | | | The default expectation of RunCMake tests is empty content, so there is no need to specify it.
* Genex: Fix stack overflow in transitive property evaluation.Stephen Kelly2014-07-0120-0/+128
| | | | | | | | | | | | | | | | | | | | Commit v2.8.11~156^2~2 (Expand includes and defines transitively in 'external' genexes., 2013-02-13) introduced a recursive loop and a stack overflow during evaluation of a link implementation which depends on a transitive property, such as add_library(empty1 ...) add_library(empty2 ...) target_link_libraries(empty1 PRIVATE $<$<STREQUAL:$<TARGET_PROPERTY:INCLUDE_DIRECTORIES>,/foo/bar>:empty2> ) There is no use-case for code like that currently, but it should not cause a stack overflow. Avoid the recursion by reporting an error early if a case like this is found.
* 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.
* Fix spelling and typos (affecting binary data / module messages)Andreas Mohr2013-05-072-3/+3
|
* Revert "Add the $<LINKED:...> generator expression."Stephen Kelly2013-02-134-16/+0
| | | | | | | | | This reverts commit 0b92602b816e2584db3781b120a1e5200da72ada. Conflicts: Source/cmGeneratorExpressionEvaluator.cxx Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt Tests/CMakeCommands/target_include_directories/CMakeLists.txt
* Revert "Don't allow utility or global targets in the LINKED expression."Stephen Kelly2013-02-135-18/+0
| | | | This reverts commit 9712362b4580fb92394ecf8ff57be186571f4319.
* Don't allow utility or global targets in the LINKED expression.Stephen Kelly2013-02-085-0/+18
| | | | | | The LINKED expression is exclusively for handling INTERFACE content and it does not make sense for utility targets to have INTERFACE content.
* Add the $<LINKED:...> generator expression.Stephen Kelly2013-01-314-0/+16
| | | | | | This is both a short form of using a TARGET_DEFINED expression together with a TARGET_PROPERTY definition, and a way to strip non-target content from interface properties when exporting.
* Keep track of INCLUDE_DIRECTORIES as a vector of structs.Stephen Kelly2013-01-039-13/+31
| | | | | The struct can keep track of where the include came from, which gives us proper backtraces.
* GenEx: Validate target and property names.Stephen Kelly2012-10-0925-0/+125
| | | | They must be non-empty, and match a restrictive regexp.
* GenEx: Report actual target name not found, not "0" each time.Stephen Kelly2012-10-094-0/+15
|
* Process generator expressions in the COMPILE_DEFINITIONS target property.Stephen Kelly2012-09-287-0/+36
|
* Process generator expressions in the INCLUDE_DIRECTORIES property.Stephen Kelly2012-09-2814-0/+76
This use of generator expressions, like all others to come which operate on target properties, must initalize the dag checker.