Do not ignore pre-build error

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

Do not ignore pre-build error

ソリューションへジャンプ
813件の閲覧回数
jakub_tymejczyk
Contributor I

How to stop building project if pre-build step fails?

 

I want to stop building project as soon as pre-build step fails.

To test I added command `false` to pre-build step.
Output is `make[1]: [makefile:211: pre-build] Error 1 (ignored)` but compilation continues. I want to stop process after that.

0 件の賞賛
返信
1 解決策
797件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

According to the official Eclipse documentation, the main build gets executed regardless the success/failure of the pre-build step - see [1]. I think you might need to invoke your scripts through rules from the actual makefile.

Regards,
MCUXpresso IDE Support

[1] https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_prop...

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
798件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

According to the official Eclipse documentation, the main build gets executed regardless the success/failure of the pre-build step - see [1]. I think you might need to invoke your scripts through rules from the actual makefile.

Regards,
MCUXpresso IDE Support

[1] https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_prop...

0 件の賞賛
返信