COM client compilation takes too long

COM client compilation takes too long

Hello,

we're working on a COM client. The file created by Intel Visual Fortran Module Wizard (by importing a TLB file) has approx. 190.000 lines. The compilation time of the file on an average CPU is about 20 mins. Is there a way to accelarate the compilation process? It doesn't really makes a difference if I compile using debug or release settings.

Regards,

Goran

4 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Park the full file and make a copy with just the routines interfaces you use perhaps?  You you need to rebuild it anyway, is it actually changing? You could remove it from the build and just use a prebuilt obkect file perhaps?

Or if you are modifying it a lot then why not make a file with a module for the parameter declarations and split the interfaces into several separate modules in differnt files? Then you are only compile a sub-set whilst working on it?

>>..The compilation time of the file on an average CPU is about 20 mins. Is there a way to
>>accelarate the compilation process?

Did you create any C/C++ wrappers? If Yes, Verify that all wrappers for COM interfaces you've imported and used in your project are enabled for Precompiled Header usage. If you create a small project reproducer with a couple of files I could verify if they are used properly with Precompiled Header option.

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi