@echo off cd build\auto cl /I..\.. /I..\..\src /I..\..\common /EHsc helper_get_openmpt_version.cpp cd ..\.. build\auto\helper_get_openmpt_version.exe openmpt > openmpt_version.txt set /p OPENMPT_VERSION= openmpt_version.txt set /p OPENMPT_VERSION_MAJORMAJOR= openmpt_version.txt set /p OPENMPT_VERSION_MAJOR= openmpt_version.txt set /p OPENMPT_VERSION_MINOR= openmpt_version.txt set /p OPENMPT_VERSION_MINORMINOR= openmpt_version.txt set /p LIBOPENMPT_VERSION_MAJOR= openmpt_version.txt set /p LIBOPENMPT_VERSION_MINOR= openmpt_version.txt set /p LIBOPENMPT_VERSION_PATCH= openmpt_version.txt set /p LIBOPENMPT_VERSION_PREREL= openmpt_version.txt set /p LIBOPENMPT_VERSION_STRING=