15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Compiling with nmake ....

Jean FEVRE -- jeanf@afp.com
Tuesday, February 06, 1996

Hi
I work with MSVC 4.0, I have an application build with lot of 
DLL exporting functions (C mode) and classes (C++).
I made a .CMD file to compile all the modules with one command.
The problem is that compliation does'nt seem to work like when I 
invoke it from Developer Studio.
Somebody can help me???

regards

jean



Eric Kenslow -- kenslowe@internet.OIT.OSSHE.EDU
Thursday, February 08, 1996

[Mini-digest: 2 responses]

Are you setting the CFG= switch on the nmake line?  This is the way to do it with VC2.2.  Look in your makefile for documentation.

----------
From: 	Jean FEVRE[SMTP:jeanf@afp.com]
Sent: 	Tuesday, February 06, 1996 1:59 PM
To: 	mfc-l@netcom.com
Subject: 	Compiling with nmake ....

Hi
I work with MSVC 4.0, I have an application build with lot of 
DLL exporting functions (C mode) and classes (C++).
I made a .CMD file to compile all the modules with one command.
The problem is that compliation does'nt seem to work like when I 
invoke it from Developer Studio.
Somebody can help me???

regards

jean
-----From: "Mukesh Prasad [Development Contractor]" 

You need to make sure the "include path" and "library path"
are set up correctly.  Check the list of include directories
under "Tools" -> "Options" under the "Directories" tab.
Then use the set command to set the include path in your
.cmd file, e.g.

set include=c:\msdev\include;c:\msdev\mfc\include

(plus any include directories of your own, e.g.
any that you have set up under "Build" -> "Settings".)

You will also need to include the library paths in a
similar "set lib=" command, to make sure the libraries
get picked up the linker.

You might also want to check out http://www1.usa1.com/~desisoft/
for a windows-oriented method of automatically building
several Developer Studio projects.





| Вернуться в корень Архива |