summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_subdirectory/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* add_subdirectory: Add SYSTEM optionDa Quexian2022-09-261-0/+1
| | | | | Fixes: #22401 Signed-off-by: Da Quexian <daquexian566@gmail.com>
* Restore "all" target in subdirectories marked EXCLUDE_FROM_ALLBrad King2019-09-301-0/+20
| | | | | | | | | | | | | The "all" target in each directory is supposed to have targets from that directory even if the directory itself is marked `EXCLUDE_FROM_ALL` in its parent. This was broken by commit dc6888573d (Pass EXCLUDE_FROM_ALL from directory to targets, 2019-01-15, v3.14.0-rc1~83^2) which made the participation of a target in "all" independent of context. Revert much of the logic change from that commit to restore the old behavior. Then re-implement the behavior intended by the commit to keep its test working. Extend the test to cover the old behavior too. Fixes: #19753
* Tests: Revise RunCMake.add_subdirectory ExcludeFromAll to avoid globbingBrad King2019-09-261-8/+8
| | | | Also simplify the clean step.
* Pass EXCLUDE_FROM_ALL from directory to targetsZack Galbreath2019-01-211-0/+1
| | | | | | When a target is created it now inherits the EXCLUDE_FROM_ALL property from its directory. This change makes it possible to include a target in "all", even if its directory has been marked as EXCLUDE_FROM_ALL.
* Testing: Add test for CMP0082Kyle Edwards2018-10-101-0/+22
|
* Xcode: Add targets marked as EXCLUDE_FROM_ALL to project (#16101)Gregor Jasny2016-08-311-0/+12
|
* Tests: Add case for add_subdirectory inside a functionBrad King2015-11-231-0/+1
|
* add_subdirectory: Fix error message on missing CMakeLists.txt (#15680)Brad King2015-08-041-0/+4
Refactoring in commit v3.3.0-rc1~76^2 (cmMakefile: Handle CMP0014 before configuring the generator, 2015-05-14) accidentally left the file name "/CMakeLists.txt" in the error message. Remove it and add a test case.