@echo off:: ************************************************************************:: * Windows Build Script without preconditions *:: ************************************************************************:::: This script is an optional replacement to build the IDE/Debugger on:: Windows without the need to install any Unix tools such as make.:::: Run this script as follows::::: MakeWindows.cmd <TargetPureBasicDirectory>:::: No previous setup or use of "BuildEnv.cmd" is required in this case.:: For more information on the <TargetPureBasicDirectory> parameter, see:: the description of "BuildEnv.cmd" in the main directory.:::: NOTE::: The makefile is still the official way to build the IDE and debugger,:: even on Windows. This script is for convenience only. If you make:: any changes to this build script, the same changes must be made:: (and tested) in the makefile as well!:::: ************************************************************************:: Check presence of the mandatory argumentIF NOT [%1]==[] GOTO path_argument_okecho Invalid parameters: Missing argument for target PureBasic directorypauseexit /b 1:path_argument_ok:: Set PUREBASIC_HOME and ensure the compiler and IDE are in the pathset PUREBASIC_HOME=%1set PATH=%PUREBASIC_HOME%\Compilers;%PUREBASIC_HOME%;%PATH%@echo on:: ************** Build steps start here *********************************:: Set path of this script as current directory in case it was started from elsewherecd /d %~dp0:: Compile the debuggerPBCompiler /QUIET StandaloneDebugger.pb /EXE %PUREBASIC_HOME%/Compilers/PBDebugger.exe /XP /USER /ICON ../PureBasicIDE/data/PBLogoSmall.ico /UNICODE
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。