X
4047

Calling a custom project build script in IDL 8.2 and later

You can call a custom IDL Project build script or command from the IDL Workbench (v8.2 or later) as follows:

1.) Open the Project Properties dialog for your IDL project (right click on your project in the Project Explorer view and then select the Properties menu item.

2.) Then select the IDL Build Properties item on the left pane.

3.) On the right pane unselect the check boxes for Compile Project Files and Execute RESOLVE_ALL.

4.) In the "IDL pre-process command to execute before compiling" field, enter the IDL statement or IDL batch script command to run your custom build command.  For example, to launch a build batch script:

    @C:\Users\joeuser\my_custom_idl_build_batch_script.pro

5.) Apply the changes and click OK. 

At this point, launching build project should use your custom build command rather than the default build commands.

NOTE: The IDL Workbench can automatically generate an IDL batch project build script and display it in the Workbench editor by clicking on the "Create build script in editor..." button on the IDL Build Properties view on the Project Properties dialog.

 

 

Reviewed by JU (23-jan-2015)