def get_inc(self, native=False):
if self.sdk_version == '<STR_LIT>':<EOL><INDENT>include = os.path.join(self.sdk_dir, '<STR_LIT>')<EOL>if os.path.isdir(include):<EOL><INDENT>logging.info(_('<STR_LIT>'), include)<EOL>return [include]<EOL><DEDENT>logging.debug(_('<STR_LIT>'), include)<EOL>return []<EOL><DEDENT>if self.sdk_version == '<STR_LIT>':<EOL><INDENT>dirs = []<EOL>if native:<EOL><INDENT>parts = ['<STR_LIT>', os.path.join('<STR_LIT>', '<STR_LIT>'), '<STR_LIT>']<EOL><DEDENT>else:<EOL><INDENT>parts = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']<EOL><DEDENT>for part in parts:<EOL><INDENT>include = os.path.join(self.sdk_dir, '<STR_LIT>', part)<EOL>if os.path.isdir(include):<EOL><INDENT>logging.info(_('<STR_LIT>'), include)<EOL>dirs.append(include)<EOL><DEDENT>else:<EOL><INDENT>logging.debug(_('<STR_LIT>'), include)<EOL><DEDENT><DEDENT>return dirs<EOL><DEDENT>if self.sdk_version == '<STR_LIT>':<EOL><INDENT>dirs = []<EOL>extra = os.path.join('<STR_LIT>', '<STR_LIT>')<EOL>for mode in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>include = os.path.join(self.sdk_dir, extra, mode)<EOL>if os.path.isdir(include):<EOL><INDENT>logging.info(_('<STR_LIT>'), include)<EOL>dirs.append(include)<EOL><DEDENT>else:<EOL><INDENT>logging.debug(_('<STR_LIT>'), include)<EOL><DEDENT><DEDENT>return dirs<EOL><DEDENT>message = '<STR_LIT>'.format(self.sdk_version)<EOL>raise RuntimeError(message)<EOL>
Get include directories of Windows SDK.