Conditional Compile (1.65 Requires ProKey)

Conditional compile is a simple mechanism to allow users to decide whether to compile all the different elements of a project (compile groups) or just some of them.  Of course if all compile groups are unchecked then nothing will get compiled.  So generally you need to compile each group at least once.  To make things easier if you change something in a group (Add, Edit or Delete) then ADE will automatically check the group so that it gets compiled.

This function requires a ProKey.  If you don't have a ProKey then the options will be greyed out and all groups will always be compiled

Load a project

Load a project

This is a simple airport with a runway and a few scenery objects.  It also has a custom ground poly

Conditional compile options

Conditional compile options

Conditional compile options are accessed via the More Options button in Compile Options

There are four compile groups available:

  • Airport and Scenery.  This is the main airport facilities and any scenery objects such as buildings
  • Custom GP Objects.  These are the custom ground polys and lines
  • Pre-load Bgl File.  This is the file that is created if you change the airport reference data (name, city etc) or the airport altitude
  • Terrain Objects.  Land class, airport backgrounds, flattens, roads and so on

Active compile groups are enabled.  This means that there are objects belonging to that group in the project that can be compiled.  If the checkbox is checked then this group will be compiled.  If it is unchecked then it will not be compiled

Inactive compile groups have nothing to compile.  This means there are no objects for that group, or in the case of the pre-load file, the airport has stock values and the altitude of the airport is stock.  These are greyed out and always appear unchecked

Choosing what groups to compile

Choosing what groups to compile
  1. This group is checked so all airport facilities and scenery objects will be compiled
  2. This group is not checked.  Although there are GP objects in the project ADE will not compile them this time

Make a change to the project

Make a change to the project

I have added a custom ground line which changes the composition of the Custom GP Objects compile group

ADE updates the compile option setting for Custom GP Objects

ADE updates the compile option setting for Custom GP Objects

This compile group was unchecked above but because I added a new GP line ADE has now checked the box again to ensure that my changes get compiled

1 Comments

Ed Phipps

Very good Jon. I like the way this is set up to work.

Add your comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.