Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Precompiled headers (Read 1280 times)
Nikolai
Newbies
*
Offline


Posts: 5
Joined: Jan 31st, 2023
Precompiled headers
Feb 8th, 2023 at 9:17pm
Print Post  
It seems to take ~ 20-30 seconds to build an ESP32 project.

Is there any way to add support for "pre-compiled headers" so that rarely used stuff can be all bundled into some special header which is included in every CPP file so that it's pre-built only once?

Back in 90's Microsoft did this as a solution for MFC projects which often included many Windows and MFC header files with thousands of functions.  This made builds significantly faster.

Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12166
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Precompiled headers
Reply #1 - Feb 8th, 2023 at 9:47pm
Print Post  
This is more a question about what Arduino supports. The answer can change depending on where the delay is. Please proide the information requested in yellow above.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint