[msvc] Automatically update (win-)config.h with the correct version number
/*.opensdf
/ipch/
/Win32/
-/x64/
\ No newline at end of file
+/x64/
+/include/
\ No newline at end of file
if exist eglib\config.h if not exist eglib\cygconfig.h copy eglib\config.h eglib\cygconfig.h
copy winconfig.h config.h
copy eglib\winconfig.h eglib\config.h
+powershell -Command "(Get-Content config.h) -replace '#MONO_VERSION#', (Select-String -path configure.ac -pattern 'AC_INIT\(mono, \[(.*)\]').Matches[0].Groups[1].Value | Set-Content config.h"
goto end
:error
echo fatal error: the VSDepenancies directory was not found in the "mono" directory
/* #undef USE_MONO_MUTEX */
/* Version number of package */
-#define VERSION "4.1.0"
+#define VERSION "#MONO_VERSION#"
#endif