diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2016-08-19 19:50:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-31 13:16:44 (GMT) |
commit | df32e564aed43470e304cf21d8c9ac1d5a01d055 (patch) | |
tree | b936ba3992df59535e3e80bba12b20bac3e78d52 /Tests/RunCMake/add_subdirectory/ExcludeFromAll.cmake | |
parent | ff88df48e8a693f213a44aee3ad2474f500857b5 (diff) | |
download | CMake-df32e564aed43470e304cf21d8c9ac1d5a01d055.zip CMake-df32e564aed43470e304cf21d8c9ac1d5a01d055.tar.gz CMake-df32e564aed43470e304cf21d8c9ac1d5a01d055.tar.bz2 |
Xcode: Add targets marked as EXCLUDE_FROM_ALL to project (#16101)
Diffstat (limited to 'Tests/RunCMake/add_subdirectory/ExcludeFromAll.cmake')
-rw-r--r-- | Tests/RunCMake/add_subdirectory/ExcludeFromAll.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/add_subdirectory/ExcludeFromAll.cmake b/Tests/RunCMake/add_subdirectory/ExcludeFromAll.cmake new file mode 100644 index 0000000..f686005 --- /dev/null +++ b/Tests/RunCMake/add_subdirectory/ExcludeFromAll.cmake @@ -0,0 +1,6 @@ +enable_language(CXX) + +add_subdirectory(ExcludeFromAll EXCLUDE_FROM_ALL) + +add_executable(main main.cpp) +target_link_libraries(main PRIVATE foo) |