Move OpenMW version information to a textfile instead of compiling it in

Now we don't need to recompile 3 .cpp files and re-link whenever the current git HEAD changes.
This commit is contained in:
scrawl 2015-07-18 03:01:06 +02:00
parent c783b50a83
commit f09e4620b6
16 changed files with 135 additions and 81 deletions

View file

@ -21,4 +21,4 @@ else (SUCCESS)
message(WARNING "Failed to get valid version information from Git")
endif (SUCCESS)
configure_file(${VERSION_HPP_IN} ${VERSION_HPP})
configure_file(${VERSION_IN_FILE} ${VERSION_FILE})