Andes Workshop http://forum.andestech.com/ |
|
build code時總是編譯所有的檔案 http://forum.andestech.com/viewtopic.php?f=6&t=660 |
Page 1 of 1 |
Author: | cindy [ Fri Jan 18, 2013 7:00 pm ] |
Post subject: | build code時總是編譯所有的檔案 |
正常的情況下,第2次build code只會編譯曾改過的檔案, 曾經編過的檔案不會重編。 如果build code時總是編譯所有的檔案, 可能是refresh policy出錯。 下面說明改正的方法。 (1)在project上按右鍵,點擊選單上的properties. Attachment: p1.gif [ 16.84 KiB | Viewed 8115 times ] (2)如圖上的做法,把原本的resource刪掉。 例如這裡,要把demo-int刪掉。使得resource為空。 Attachment: (3)關閉project Attachment: p3.gif [ 6.61 KiB | Viewed 8115 times ] (4)重新開啟project。 此時,refresh policy就恢復為正常的路徑。 先重build一次,以後就不會build所有的檔案了。 Attachment: p4.gif [ 8.12 KiB | Viewed 8115 times ] |
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |