|
-
Feb 22nd, 2002, 04:30 PM
#1
Compiling MFC from the command line
How do i compile an MFC program from the command line? Ive been trying to figure it out, but i just cant get it to work.
-
Feb 23rd, 2002, 12:06 PM
#2
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Feb 23rd, 2002, 01:41 PM
#3
Why dont you wany to?
Ever since i started using the command line, any IDE has just slowed me down.
-
Feb 24th, 2002, 04:56 AM
#4

Export a makefile from the IDE. When you make changes to your compile settings, make sure you do it in the makefile.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Feb 24th, 2002, 01:46 PM
#5
I did that and i tried to figure out what options its using to compile MFC, but i just cant get it.
-
Feb 25th, 2002, 10:30 AM
#6
You have to define the symbol _AFXDLL if you use it in a dll, but that's it (I think). You don't need any special libraries (this is embedded into the mfc headers), you only need the windows main libs.
The main thing is that EVERY source module must include at least <afxwin.h>.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
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
|