Extract version information to other file to share with CMakeLists.txt