Andes Workshop

It is currently Sat Jun 06, 2020 3:26 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: build code時總是編譯所有的檔案
PostPosted: Fri Jan 18, 2013 7:00 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
正常的情況下,第2次build code只會編譯曾改過的檔案,
曾經編過的檔案不會重編。

如果build code時總是編譯所有的檔案,
可能是refresh policy出錯。

下面說明改正的方法。
(1)在project上按右鍵,點擊選單上的properties.
Attachment:
p1.gif
p1.gif [ 16.84 KiB | Viewed 4939 times ]


(2)如圖上的做法,把原本的resource刪掉。
例如這裡,要把demo-int刪掉。使得resource為空。
Attachment:
p2.gif
p2.gif [ 24.96 KiB | Viewed 4939 times ]


(3)關閉project
Attachment:
p3.gif
p3.gif [ 6.61 KiB | Viewed 4939 times ]


(4)重新開啟project。
此時,refresh policy就恢復為正常的路徑。
先重build一次,以後就不會build所有的檔案了。
Attachment:
p4.gif
p4.gif [ 8.12 KiB | Viewed 4939 times ]


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group