Vai al contenuto

Exclude From Build

The Exclude from build options allows you to explicitly avoid compilation of specific ele- ments; you can exclude every kind of POU, such as programs, functions, function blocks, global varaibles groups and folder.To set/unset this option, you can open the context menu of the desired element and choose Exclude from build option; the aspect of the element inside the project tree will change to notify it is excluded from any compilation Exclude From Build-image_0 Exclude From Build-image_1Alternatively, you can achive the same result from the Object properties window of the selected object. Choose Edit object properties from the context menu of the desired object (shortcut is Alt + Shift + Enter) and select the Exclude option. Exclude From Build-image_0Remember that the exclusion is recursive, so if you choose to exclude from compilation a folder or a global variables group, all the sub-elements will be excluded too.To remark this, the context menu voice will also change into Exclude all contents from build. Exclude From Build-image_0 Exclude From Build-image_1