不是,是下面这样的文件
@REM
@REM Copyright (c) Microsoft Corporation. All rights reserved.
@REM
@REM
@REM Use of this source code is subject to the terms of the Microsoft end-user
@REM license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
@REM If you did not accept the terms of the EULA, you are not authorized to use
@REM this source code. For a copy of the EULA, please see the LICENSE.RTF on your
@REM install media.
@REM
set WINCEREL=1
set BSP_NOPCIBUS=1
set BSP_NOUSBSER=1
set BSP_NODISPLAY=
set BSP_NOSERIAL=
set BSP_NOUART0=
set BSP_NOIRDA=
set BSP_NOKEYBD=1
set BSP_NOTOUCH=
set BSP_NOPWRBTN=
set BSP_NOAUDIO=
set BSP_AUDIO_AC97=
set BSP_NOUSB=
set BSP_NOUSBFN=
set BSP_NOCS8900=1
set BSP_NOBACKLIGHT=
set BSP_NOBATTERY=1
set BSP_NONANDFS=
set BSP_NOPCCARD=1
set BSP_NONLED=1
set BSP_NOBATTERY=
set BSP_NOD3DM=
set BSP_NOSD=
set BSP_NOHSMMC=1
set BSP_NOPOST=1
set BSP_NOATAPI=1
set BSP_USE_ATAHDD=
set BSP_USEDVS=
set BSP_NOCAMERA=
set BSP_NOI2C=
set BSP_MX500B=
set BSP_KITL=NONE
rem set BSP_KITL=SERIAL_UART0
rem set BSP_KITL=SERIAL_UART1
rem set BSP_KITL=USBSERIAL
rem set BSP_KITL=USBRNDIS
rem set BSP_KITL=ETHERNET
@set BSP_USBFNCLASS=COMPOSITE
set BSP_USBFNCLASS=SERIAL
rem set BSP_USBFNCLASS=RNDIS
rem set BSP_USBFNCLASS=MSC
if /i "%BSP_USBFNCLASS%"=="COMPOSITE" set SYSGEN_USBFN_COMPOSITE=1
set BSP_MOVINAND=
@REM - To support SD card
set SYSGEN_SDBUS=1
@REM For Hive Based Registry
set IMGHIVEREG=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_FSREGHIVE=1
if /i "%IMGHIVEREG%"=="1" set PRJ_ENABLE_REGFLUSH_THREAD=1
假如你的BSP包的名字叫做SMDK2440,那么这个环境变量所在的文件就是SMDK2440.bat,而且这个文件在SMDK2440文件夹下面。
[/Quote]我在我的VS2005 PB工程目录下的WINCE600的目录下找到了一个跟工程名一样的.bat文件。内容是
@REM
@REM Copyright (c) Microsoft Corporation. All rights reserved.
@REM
@REM
@REM Use of this sample source code is subject to the terms of the Microsoft
@REM license agreement under which you licensed this sample source code. If
@REM you did not accept the terms of the license agreement, you are not
@REM authorized to use this sample source code. For the terms of the license,
@REM please see the license agreement between you and Microsoft or, if applicable,
@REM see the LICENSE.RTF on your install media or the root of your tools installation.
@REM THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
@REM
if /i not "%1"=="preproc" goto :Not_Preproc
goto :EOF
:Not_Preproc
if /i not "%1"=="pass1" goto :Not_Pass1
REM ==============================================================================================
REM
REM Standard SDK features
REM Post CE 5.0 this no longer supported,
REM but is included for backwards compatibility.
REM ==============================================================================================
if not "%SYSGEN_USDK%"=="1" goto NoUSDK
set SYSGEN_AYGSHELL=1
set SYSGEN_AUDIO=1
set SYSGEN_WININET=1
set SYSGEN_URLMON=1
set SYSGEN_CPP_EH_AND_RTTI=1
set SYSGEN_REDIR=1
set SYSGEN_MSXML_DOM=1
set SYSGEN_ATL=1
set SYSGEN_SOAPTK_CLIENT=1
set SYSGEN_MSMQ=1
set SYSGEN_LDAP=1
set SYSGEN_OBEX_CLIENT=1
set SYSGEN_AUTH=1
set SYSGEN_GRADFILL=1
set SYSGEN_PRINTING=1
set __SYSGEN_STANSDK=1
set __SYSGEN_COM_GUIDS=1
set __SYSGEN_COM_STG=1
set SYSGEN_COMMDLG=1
set SYSGEN_STDIOA=1
set SYSGEN_STANDARDSHELL=1
set SYSGEN_MSXML_SAX=1
set SYSGEN_DOTNETV2_SUPPORT=1
:NoUSDK
goto :EOF
:Not_Pass1
if /i not "%1"=="pass2" goto :Not_Pass2
goto :EOF
:Not_Pass2
if /i not "%1"=="report" goto :Not_Report
goto :EOF
:Not_Report
echo %0 Invalid parameter %1
是这个吗,因为的工程文件是别人复制给我的,不是知道怎么开始弄