Source file compilation

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jul 2009
Posts: 57
Reputation: atch is an unknown quantity at this point 
Solved Threads: 0
atch atch is offline Offline
Junior Poster in Training

Source file compilation

 
0
  #1
Sep 4th, 2009
Hi,
I would like to ask a question and I'm quite certain that I'll get positive answer to that. When I've change some code in one file and press f5 (visual studio) it seems to me that all other files are being compiled as well as this one in which change was made. Is there any way to set options and to compile only this file with changed code?
Thank you.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,889
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 302
Moderator
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Cenosillicaphobiac

Re: Source file compilation

 
0
  #2
Sep 4th, 2009
It depends on which file you modified. If you've changed a header-file which is included by other (source) files, all those files need to be re-compiled because they depend on the changed header.
If you modify a source file which isn't 'linked' to any other files, the compiler will know that and skip them.
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 57
Reputation: atch is an unknown quantity at this point 
Solved Threads: 0
atch atch is offline Offline
Junior Poster in Training

Re: Source file compilation

 
0
  #3
Sep 4th, 2009
Thanks.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC