modifying makefile clean target

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

modifying makefile clean target

513件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcentric on Tue Sep 27 23:37:50 MST 2011
How is the makefile created, and how can I edit the template? I need to add some more files to clean away which are created in a post-build action.

I don't really want to convert to a makefile project at this stage.

Also is it possible to set workspace-defaults for post-build actions? I didn't see the corresponding option in windows->preferences.

Thanks!
0 件の賞賛
返信
1 返信

494件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Sep 28 02:37:22 MST 2011
I've not tried this myself, but is should be it should be possible by adding a "Builder"
- Project->Properties
- select the Builders section
- press New... and complete the dialog, paying special attention to the Build Options tab

A Builder is called during the build (in the order shown in the Builders section).

If you add "make" as your Builder and invoke it using your own makefile, this will then be called at the appropriate time during the build.

You will probably need to experiment a bit, to get the behavior you need.

More information can be found by using your favorite search engine and looking for "cdt builders"
0 件の賞賛
返信