message: Ensure all files have trailing new-lines and enforce with clang warning
diff: @@ -327,6 +327,10 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  endif()
  endif()
  + if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  + list(APPEND warning_flags -Wnewline-eof)
  + endif()
  +
  if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0 AND NOT APPLE)
  list(APPEND warning_flags -Wno-unused-lambda-capture)
  endif()
  