[cmake] adds macro for clang format target