print file count, not list of all files, when generating.
unnecessary variable in a macro
add two cmake messages