Horde3D

Next-Generation Graphics Engine
It is currently 22.12.2024, 06:32

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Source in header files
PostPosted: 04.06.2008, 02:00 
Offline

Joined: 15.05.2008, 05:32
Posts: 46
Location: California
Why is there so much source-code in header files (Collada converter at least)? With this I can't do a quick compile of my changes using Ctrl-F7 (VisualStudio), far more of the source-tree is compiled when I make changes and sometimes VisualStudio is confused with break-points in these classes.

How about moving the code into .cpp files?


Top
 Profile  
Reply with quote  
PostPosted: 04.06.2008, 02:48 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
The whole collada converter is what, 7 files all told (if you ignore the dae lib, which is basically an external dependency). If you need faster compile times, maybe try putting the dae lib into a separate static library.

For a tool as small as the converter, compile times shouldn't be an issue - maybe your computer needs a tune up? A full compile (from scratch) of the collada converter takes less than 5 seconds on my 3 year-old Mac. (Edit: that may not be representative - Apple's GCC may perform better than MSVC, I don't know)

_________________
Tristam MacDonald - [swiftcoding]


Last edited by swiftcoder on 04.06.2008, 04:24, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: 04.06.2008, 02:58 
Offline

Joined: 15.05.2008, 05:32
Posts: 46
Location: California
Eh, OK... I'm off to Best Buy ;)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 16 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:  
Powered by phpBB® Forum Software © phpBB Group