rendered paste bodyC:\Temp\testlib>dir /b
testlib.pro
unit.cpp
unit.h
C:\Temp\testlib>type testlib.pro
TEMPLATE = lib
TARGET = testlib
CONFIG += dll
HEADERS = unit.h
SOURCES = unit.cpp
target.path = .
dlltarget.path = .
INSTALLS += dlltarget
INSTALLS += target
C:\Temp\testlib>qmake
C:\Temp\testlib>nmake
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefil
e.Release
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -O2 -MD -GR -EHsc -W3 -w34100
-w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI
_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"C:/Qt/4.2.3/include/QtCore" -I"C:/Qt/4
.2.3/include/QtCore" -I"C:/Qt/4.2.3/include/QtGui" -I"C:/Qt/4.2.3/include/QtGui"
-I"C:/Qt/4.2.3/include" -I"C:/Qt/4.2.3/include/ActiveQt" -I"release" -I"." -I".
.\..\Qt\4.2.3\mkspecs\win32-msvc2005" -Forelease\ @C:\DOCUME~1\JP\LOCALS~1\Temp\
nmC5.tmp
unit.cpp
link /LIBPATH:"c:\Qt\4.2.3\lib" /NOLOGO /INCREMENTAL:NO /INCREMENTAL:NO
/DLL /OUT:release\testlib.dll @C:\DOCUME~1\JP\LOCALS~1\Temp\nmC6.tmp
mt.exe -nologo -manifest release\testlib.dll.manifest -outputresource:re
lease\testlib.dll;2
C:\Temp\testlib>nmake install
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe" -f Makefil
e.Release install
Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.
copy /y "release\testlib.dll" "c:\Temp\testlib\testlib.dll"
1 file(s) copied.
copy /y "release\testlib.lib" "c:\Temp\testlib\testlib.lib"
The system cannot find the file specified.
copy /y "release\testlib.dll" "c:\Temp\testlib\testlib.dll"
1 file(s) copied.
C:\Temp\testlib>tree /f
Folder PATH listing for volume Windows
Volume serial number is 0
C:.
│ Makefile
│ Makefile.Debug
│ Makefile.Release
│ testlib.dll
│ testlib.pro
│ unit.cpp
│ unit.h
│
├───debug
└───release
testlib.dll
testlib.dll.manifest
unit.obj
C:\Temp\testlib>