enable_language(C) add_library(objlib OBJECT empty.c) add_custom_target(check ALL COMMAND echo $ $ $ )