build.Compile.IncludePath


This property sets or refers to the compile options for the active project regarding additional include paths.

[Specification format]

build.Compile.IncludePath = dirlist

[Setting(s)]

Setting

Description

dirlist

Set the additional include paths as a list of strings.

[Reference]

List of additional include paths

[Detailed description]

-

This property sets or refers to the compile options for the active project regarding additional include paths.

-

Add or change for the referred list to change the setting.

[Example of use]

>>>incpath1 = build.Compile.IncludePath     ... Refer the current setting and add an include path
>>>print incpath1
['include', 'C:\project\inc']
>>>incpath1.append('include2')
>>>build.Compile.IncludePath = incpath1
>>>print build.Compile.IncludePath
['include', 'C:\project\inc', 'include2']
>>>
>>>incpath2 = ['include1', 'include2']      ... Set multiple include paths
>>>build.Compile.IncludePath = incpath2
>>>print build.Compile.IncludePath
['include1', 'include2']