1# CMake script that generates the IGRAPH_VERSION file in the build folder 2# 3# Script variables that need to be set before calling it via "cmake -P": 4# 5# * IGRAPH_VERSION should be set to the exact version number 6# * VERSION_FILE_PATH should be set to the name of the version file 7 8FILE(WRITE "${VERSION_FILE_PATH}" "${IGRAPH_VERSION}") 9