*.appli change -> full rebuild?

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

*.appli change -> full rebuild?

ソリューションへジャンプ
1,849件の閲覧回数
s_kalop
Contributor I

Hello, i have simple library project(CW10.2.1) about of 300 source files. Every time i make changes in *appli file of this project(data placement) full rebuild is needed(it's consumed a lot of time), but change i've made concerns just one file. Are there some methods to prevent full rebuilding when *appli is changed?

ラベル(1)
0 件の賞賛
返信
1 解決策
1,709件の閲覧回数
CrasyCat
Specialist III

Hello

The .appli file you are using is used as input for all the source file within the project. So there is a direct dependency between each of the source file and the .appli file.

Any change inside of the .appli file implies a full rebuild of the application.

The IDE only noticed the .appli file has been changed since the last time the source file has been built.

So you cannot prevent CodeWarrior from rebuilding the whole application after a change in the .appli file.

Now depending what you are trying to do in the .appli file, you may want to use the corresponding pragmas or __attribute__ in the single source file, instead of using the .appli file. 

This way the rebuild will only build the source files, which have been changed.

Be careful all commands inside of the.appli file do not have a correspondent pragma or __attribute__ notation. So using this variant really depends on what you are trying to achieve in the .appli file.

CrasyCat

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,710件の閲覧回数
CrasyCat
Specialist III

Hello

The .appli file you are using is used as input for all the source file within the project. So there is a direct dependency between each of the source file and the .appli file.

Any change inside of the .appli file implies a full rebuild of the application.

The IDE only noticed the .appli file has been changed since the last time the source file has been built.

So you cannot prevent CodeWarrior from rebuilding the whole application after a change in the .appli file.

Now depending what you are trying to do in the .appli file, you may want to use the corresponding pragmas or __attribute__ in the single source file, instead of using the .appli file. 

This way the rebuild will only build the source files, which have been changed.

Be careful all commands inside of the.appli file do not have a correspondent pragma or __attribute__ notation. So using this variant really depends on what you are trying to achieve in the .appli file.

CrasyCat

0 件の賞賛
返信
1,709件の閲覧回数
s_kalop
Contributor I

Thank you

0 件の賞賛
返信