Files
fastbee/sdk/合宙/air780e/csdk/luatos-soc-2022/clean.bat
2023-03-04 03:44:56 +08:00

30 lines
375 B
Batchfile

@echo off
set PROJECT_NAME=example
rem you can set your gcc path
rem set GCC_PATH=E:\gcc_mcu
set ROOT_PATH = %cd:\=/%
if not "%1"=="" (
set PROJECT_NAME=%1
) ELSE (
@echo PROJECT not set
)
@echo PROJECT : %PROJECT_NAME%
if not exist xmake.lua (
echo xmake.lua not exist
goto end
)
if "%2"=="-v" (
call xmake -v clean
) ELSE (
call xmake clean
)
:end
echo done