/MIDL:@file
You can indicate the file that contains MIDL command line options.
All options for the conversion of an IDL file to a TLB file must be given in this file; MIDL command line options cannot be specified on the linker's command line. If /MIDL is not specified, the MIDL compiler will be invoked with only the IDL file name and no other options.
The file should contain one MIDL command-line option per line.
Setting Linker Options | Linker Options | FAQ: Building Your Program | /IDLOUT | /IGNOREIDL | /TLBOUT | Building an Attributed Program