1 2 3 4 5 6
add_custom_target(check ALL COMMAND ${CMAKE_COMMAND} -E echo check ) target_include_directories(check PRIVATE somedir)