Commit 8a15e75f authored by Brad King's avatar Brad King

Tests: Cover EXCLUDE_FROM_ALL OFF on sub/sub/tgt in sub/all

Issue: #19753
parent 74208433
......@@ -12,4 +12,5 @@ set(bar_lib \"$<TARGET_FILE:bar>\")
set(zot_lib \"$<TARGET_FILE:zot>\")
set(subinc_lib \"$<TARGET_FILE:subinc>\")
set(subsub_lib \"$<TARGET_FILE:subsub>\")
set(subsubinc_lib \"$<TARGET_FILE:subsubinc>\")
")
add_library(subsub STATIC subsub.cpp)
add_library(subsubinc STATIC subsub.cpp)
set_property(TARGET subsubinc PROPERTY EXCLUDE_FROM_ALL OFF)
......@@ -8,6 +8,7 @@ if(EXISTS ${RunCMake_TEST_BINARY_DIR}/check-debug.cmake)
"${foo_lib}"
"${subinc_lib}"
"${zot_lib}"
"${subsubinc_lib}"
)
if(NOT EXISTS "${file}")
set(RunCMake_TEST_FAILED
......
......@@ -8,6 +8,7 @@ if(EXISTS ${RunCMake_TEST_BINARY_DIR}/check-debug.cmake)
"${foo_lib}"
"${subinc_lib}"
"${main_exe}"
"${subsubinc_lib}"
)
if(EXISTS "${file}")
# Remove for next step of test.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment