CDT擴充點——org.eclipse.cdt.managedbuilder.core.buildProperties

來源:互聯網
上載者:User

這個擴充點是用於定義一個Property,它沒有什麼需要你實現的類,它只是一個名字而已,用在像org.eclipse.cdt.managedbuilder.core.buildDefinitions的擴充點之中。


看看它的英文解釋吧。

The build properties extension point is used to specify the property types and their values to be used with the tool definitions. The primary use if the build properties for now is option anablement/adjustment expressions.

上面是原本,但怎麼讀都覺得後面那幾句很不通暢。

The primary use if the build properties for now is option anablement/adjustment expressions.

這一句,我想應該是The primary use of the build properties for now is option enablement/adjustment expressions.

意思是,它現在最基本(最主要)的用處是使得某些運算式有效(或者調整某些運算式的值)。

是這樣子的,當你定義一個工具鏈的時候(toolChain),可能需要指定這個toolChain支援哪些類型的輸出檔案,如果編譯一個ELF格式的類型和編譯一個EXE格式類型的toolChain就會不一樣,這個時候這個剛剛定義的org.eclipse.cdt.managedbuilder.core.Property就派上用場了,與此同時,projectType中的buildArtefactType也用到相同的Property。


聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.