1set(expected ${artifact_path}/rtbin/${exe_name})
2if(NOT EXISTS "${expected}")
3  message(SEND_ERROR "executable artifact not created in the expected path:\n  ${expected}")
4endif()
5
6set(expected ${artifact_path}/staticlib/${static_name})
7if(NOT EXISTS "${expected}")
8  message(SEND_ERROR "static artifact not created in the expected path:\n  ${expected}")
9endif()
10
11if(expect_dll)
12  set(expected ${artifact_path}/rtlib/${shared_name})
13  if(NOT EXISTS "${expected}")
14    message(SEND_ERROR "dll artifact not created in the expected path:\n  ${expected}")
15  endif()
16else()
17  set(expected ${artifact_path}/sharedlib/${shared_name})
18  if(NOT EXISTS "${expected}")
19    message(SEND_ERROR "shared artifact not created in the expected path:\n  ${expected}")
20  endif()
21endif()
22