mirror of
https://github.com/holub/mame
synced 2025-06-04 03:46:29 +03:00
fixed -j compilation with VS2013 [Oliver Stöneberg]
This commit is contained in:
parent
84f70285df
commit
e5384e1163
@ -348,12 +348,19 @@ static void build_command_line(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
|
|
||||||
// identify the version number of the EXE
|
// identify the version number of the EXE
|
||||||
if (!icl_compile) exe_version = get_exe_version(executable);
|
if (!icl_compile)
|
||||||
else exe_version = 0x00110000; // assume this for ICL
|
exe_version = get_exe_version(executable);
|
||||||
|
else
|
||||||
|
exe_version = 0x00110000; // assume this for ICL
|
||||||
|
|
||||||
// special case
|
// special cases
|
||||||
if (!strcmp(executable, "cl.exe") && (exe_version >= 0x00070000))
|
if (!icl_compile && !strcmp(executable, "cl.exe")) {
|
||||||
dst += sprintf(dst, "/wd4025 ");
|
if (exe_version >= 0x00070000)
|
||||||
|
dst += sprintf(dst, "/wd4025 ");
|
||||||
|
// fixes -j compiles with VS2013
|
||||||
|
if (exe_version >= 0x000C0000)
|
||||||
|
dst += sprintf(dst, "/FS ");
|
||||||
|
}
|
||||||
|
|
||||||
// iterate over parameters
|
// iterate over parameters
|
||||||
for (param = parampos; param < argc; param++)
|
for (param = parampos; param < argc; param++)
|
||||||
|
Loading…
Reference in New Issue
Block a user