Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2018, 05:08 PM
caravellex
Sarnak
 
Join Date: Sep 2010
Posts: 63
Default When you change the source code, do you full compile each time?

Hey all! Just made my first changes to source and compiled the new source. It worked, but I was wondering if there were shortcuts when making new changes to the source - or do you run a full compile each time?
Reply With Quote
  #2  
Old 01-18-2018, 05:49 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Anytime that you 'pull' from the github repository, I highly recommend deleting your 'build' folder and re-running cmake.

New files can be added or old ones deleted and this is the only way to account for those actions.

If only content changes are made, cmake will not need to be rerun..but, I wouldn't rely on that until you're comfortable with determining what needs to be done.


When you 'build' for the first time (whether by new local repository or by the action of deleting the build folder) intermediate code objects (*.obj files) are created
during the compile process.

These files are then used to create the final executable binary file (i.e., zone.exe.)


Most of the time, you can get away with just selecting the 'Build' option from the solution right-click menu.

This will compile the full program if there are no existing *.obj files, or it will update any modified ones and just remake the binary file based on the old and updated *.obj files.

Obviously, this will be much faster than doing a 'clean' build each time.


Sometimes you will update something, say in a 'header' file or 'shared' file, and this will cause a more thorough update as entry point offsets change and more will need to be updated.


If you try to compile and start receiving 'external link cannot be resolved' errors, especially after being able to compile successfully, just select 'clean,' then 'build' or
just use 'rebuild' as that performs the same action.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 05:56 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3