ntbuild-support-for-visual-studio-net-2003-20031202
authorJeffrey Altman <jaltman@grand.central.org>
Wed, 3 Dec 2003 04:53:12 +0000 (04:53 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 3 Dec 2003 04:53:12 +0000 (04:53 +0000)
Add LIB and INCLUDE files for Visual Studio .NET 2003
(Thanks to Rob Murawski for details)

src/ntbuild.bat

index 26d5ffe..6fd62ee 100755 (executable)
@@ -97,9 +97,21 @@ set NTDDKDIR=c:\progra~1\micros~5
 REM Location of netmpr.h/netspi.h (from Windows 95/98 DDK - 8.3 short name)
 SET W9XDDKDIR=c:\progra~1\micros~6
 
-set AFSDEV_INCLUDE=%MSSDKDIR%\include;%MSVCDIR%\atl\include;%MSVCDIR%\include;%MSVCDIR%\mfc\include
+set AFSDEV_INCLUDE=%MSSDKDIR%\include;%MSVCDIR%\include
+!IF ("$(AFSVER_CL)">="1310")
+set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%MSVCDIR%\atlmfc\include
+!ELSE
+set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%MSVCDIR%\atl\include;%MSVCDIR%\mfc\include
+!ENDIF
 set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%NTDDKDIR%\include;%W9XDDKDIR%\include
-set AFSDEV_LIB=%MSSDKDIR%\lib;%MSVCDIR%\lib;%MSVCDIR%\mfc\lib
+
+set AFSDEV_LIB=%MSSDKDIR%\lib;%MSVCDIR%\lib
+!IF ("$(AFSVER_CL)">="1310")
+set AFSDEV_LIB=%AFSDEV_LIB%;%MSVCDIR%\atlmfc\lib
+!ELSE
+set AFSDEV_LIB=%AFSDEV_LIB%;%MSVCDIR%\mfc\lib
+!ENDIF
+
 set AFSDEV_BIN=%MSSDKDIR%\bin;%MSVCDIR%\bin
 
 REM ########################################################################