Command line compiling of Visual C++ Code with MFC Support

I want to compile *.cpp files that has MFC codes but dont want to use the IDE and I want to compile using cl.exe and do not want to include library file names in command line. Is it possible to use compiler directive (#pragma or something_) in source code so that cl get the idea which libs to supply to linker.

Kuasha
The Second Laziest person of the world

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories