|
-
Feb 5th, 2001, 06:13 PM
#1
Thread Starter
Frenzied Member
Is there a way I can tell VC in what order to compile cpp files? Like if I had main.cpp, wingraph.cpp and util.cpp and I wanted to compile main.cpp first, util.cpp second and wingraph.cpp last.
Thanks
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

-
Feb 6th, 2001, 12:46 AM
#2
Addicted Member
In the work space window File view you can build the file by right clicking on it then click> compile Filename.cpp. You might also want to look in project settings. I hardly ever mess with that stuff tho.
-
Feb 6th, 2001, 06:44 AM
#3
Monday Morning Lunatic
Why do you need a specific order?
Most of the time it doesn't matter what order they've been compiled in, since the linker resolves everything. The file containing main() is usually compiled last, though.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Feb 6th, 2001, 10:53 AM
#4
Thread Starter
Frenzied Member
Well it looked like my compile order was what was giving me linking errors. But I figured it out.....I think
MSVS 6, .NET & .NET 2003 Pro
I HATE MSDN with .NET & .NET 2003!!!
Check out my sites:
http://www.filthyhands.com
http://www.techno-coding.com

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|