You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
398 B

if (NOT TARGET_OBJECTS)
message(SEND_ERROR "Object not passed as -DTARGET_OBJECTS")
endif()
foreach(objlib_file IN LISTS objects)
message(STATUS "objlib_file: =${objlib_file}=")
set(file_exists False)
if (EXISTS "${objlib_file}")
set(file_exists True)
endif()
if (NOT file_exists)
message(SEND_ERROR "File \"${objlib_file}\" does not exist!${tried}")
endif()
endforeach()