Author Topic: How to speed up compiling  (Read 6469 times)

Offline Nilla

  • PLUS+1 Guru
  • *****
  • Posts: 253
  • Karma: +13/-0
How to speed up compiling
« on: January 27, 2017, 01:41:01 PM »
Start by making sure you use the right, for your need the fastest, command for compiling. In the Compile Toolbar there are different compile commands with different options for different situations;
  • Compile All - Compiles all application modules to produce a downloadable file.
  • Compile Changed - Compiles only the modules or screen definitions (only if you use VBSE) that you changed since the last Compile All. Use this command to save compile time when you have more than one module.
  • Error Check All - Compiles to check for errors in all modules. The Error Check All and Error Check Changed commands do not produce downloadable files.
  • Error Check Changed - Compiles to check for errors only in the modules that you changed since the last Compile All.
  • Stop Compile - Stops all compile processes.
Other tips
  • Keep your application on a local hard drive, a Solid State Drive (SSD) is preferred
  • Your project folder should not;
          - Be synchronized with a network drive
          - Have an automatic back up
          - Be a compressed folder
          - Be on a disc with any kind of software encryption
  • If you have antivirus program that controls every file you write and read you might be able to put in an exception for your project folder
  • For display applications; if you have static pictures, try grouping them into larger items
  • If you are using our first series of microcontrollers, called MC0XX-0XX, they had new HWD’s released in January 2017 that should reduce your compile time thanks to a new compiler
  • In general; make sure you are using the latest HWD for your hardware

Best regards
Nilla
PLUS+1 Helpdesk