Guidance
指路人
g.yi.org
software / rapidq / Examples / Tools - IDE, Designer, Builder / FreeQ IDE src / Debugger / MakeDBG.bat

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
@ECHO OFF
REM
REM Change the paths according to your drive/system/programs
REM If you don't have FreeBASIC, and will use the supplied dll
REM just ignore any lines referring to FreeBASIC
REM FreeBasic v0.20.0 Beta or latest v0.21.0 have been tested.
REM
SET FB=c:\FreeBASIC\fbc.exe
SET RQ=c:\rapidq\rc.exe
SET INC_PATH=c:\rapidq\inc
SET LIB_PATH=c:\rapidq\lib
REM Project source filenames
SET DLL_SRC=fbDBGParser.fbb
SET BAS_SRC=RapidDBG.bas
REM
REM Start compiles
REM
IF NOT EXIST "%FB%" GOTO DOBAS
IF NOT EXIST "%DLL_SRC%" GOTO ERROR_DLL_SRC
ECHO Compiling %DLL_SRC%
%FB% -version
%FB% -s gui -dll -w 2 -b %DLL_SRC%
IF ERRORLEVEL 1 GOTO ERROR_DLL
REM Cleanup FreeBASIC unwanted file
DEL *.dll.a
ECHO -----------------------------------
ECHO  FreeBASIC dll created ok!
ECHO -----------------------------------
:DOBAS
%RQ% -I%INC_PATH% -L%LIB_PATH% %BAS_SRC%
IF ERRORLEVEL 1 GOTO ERROR_COMP
ECHO ----------------------------------
ECHO  RapidDBG Debugger created ok!
ECHO ----------------------------------
GOTO DONE
:ERROR_DLL_SRC
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ECHO ! %DLL_SRC% does not exist    !
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
GOTO DONE
:ERROR_DLL
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ECHO ! %DLL_SRC% FAILED compile    !
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
GOTO DONE
:ERROR_COMP
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ECHO ! %BAS_SRC% FAILED compile   !
ECHO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
:DONE
REM Remove our temp environment variables
SET FB=
SET RQ=
SET INC_PATH=
SET LIB_PATH=
SET DLL_SRC=
SET BAS_SRC=
PAUSE
掌柜推荐
 
 
¥1,800.00 ·
 
 
¥489.00 ·
 
 
¥288.00 ·
 
 
¥908.00 ·
 
 
¥748.00 ·
 
 
¥264.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2010-12-07 21:18:04