Set version using PROJECT and CURRENT_SOURCE directories.
Add debugging information to SetVersion.cmake.