(svn r22188) -Add: Generate the settings as part of the MSVC build process, and enable it in Makefile too

This commit is contained in:
glx
2011-03-04 22:34:10 +00:00
parent 150b5c0bf7
commit 7f54c59a66
28 changed files with 1027 additions and 761 deletions

View File

@@ -448,6 +448,10 @@ int CDECL main(int argc, char *argv[])
CopyFile(after_file, stdout);
} else {
FILE *fp = fopen(output_file, "w");
if (fp == NULL) {
fprintf(stderr, "settingsgen: Warning: Cannot open file %s\n", output_file);
return 1;
}
CopyFile(before_file, fp);
_stored_output.Write(fp);
CopyFile(after_file, fp);