Click to See Complete Forum and Search --> : Compile Order
Technocrat
Feb 5th, 2001, 05:13 PM
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
KingDavid
Feb 5th, 2001, 11:46 PM
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.
parksie
Feb 6th, 2001, 05:44 AM
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.
Technocrat
Feb 6th, 2001, 09:53 AM
Well it looked like my compile order was what was giving me linking errors. But I figured it out.....I think ;)
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.