メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

target.MakefileBuilder クラス

名前空間: target

Specify that toolchain is makefile-based

R2023a 以降

Description

Use a target.MakefileBuilder object to:

  • Specify that the toolchain is makefile-based.

  • Specify the type of makefile that the toolchain generates (GNU® Make or NMAKE).

To create a target.MakefileBuilder object, use the target.create function. Create the object in a single step.

makefileBuilderObject = target.create('MakefileBuilder', option) 
option is the name of the target.MakeToolType object that you want to specify for the MakeToolType property of makefileBuilderObject. For example, 'GMake' or 'NMake'.

プロパティ

すべて展開する

Type of makefile that the toolchain generates. Specify either GMake or NMake.

Attributes:

GetAccess
public
SetAccess
public

すべて折りたたむ

This code snippet shows how you can use a target.MakefileBuilder object to specify that the toolchain is based on a GNU Make (gmake) makefile.

mingwtc.Builder = target.create('MakefileBuilder', 'GMake');

バージョン履歴

R2023a で導入